Skip to main content
added 75 characters in body
Source Link
Mooseman
  • 18.9k
  • 14
  • 73
  • 93

Assuming your selector is #myid, use $('#myid:hover') instead of using .is().

If you are using $(this) or a variable, use myVar.filter(':hover').

Assuming your selector is #myid, use $('#myid:hover') instead of using .is().

Assuming your selector is #myid, use $('#myid:hover') instead of using .is().

If you are using $(this) or a variable, use myVar.filter(':hover').

Source Link
Mooseman
  • 18.9k
  • 14
  • 73
  • 93

Assuming your selector is #myid, use $('#myid:hover') instead of using .is().