rob.m rob.m - 1 year ago 62
Javascript Question

How to hover all elements but avoid some?

I need to be able to hover elements but not all. In this case I tried all but not the table.

$(".modal-content *:not("table")").on("mouseenter", function() {...


I had a typo, accepting the answer.

Answer Source

You have a error with quotation mark. Try this.

$(".modal-content *:not('table')").on("mouseenter", function() {...
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download