Within another element's click event, I am using JQuery to toggle the display of a delete icon element from none to block and back again.
However, in the CSS file for the corresponding class, I have defined:
.pageDeleteIcon
{
display:none;
}
.pageButton:hover .pageDeleteIcon
{
display: block;
}
The parent div that contains the delete Icon is referred to as pageButton.
After executing the click function, it seems to override the CSS styling that controls its visibility on hover. Is there any way to reset the style to match the CSS file?
Thank you