That's right, $ ('. MyBox'). is (': hover') used with jQuery 1.5.1 throws an error, but in my tests only in Opera Browser (11.01): Unexposed exception: syntax error, unrecognized expression: hover
The workaround uses a negative expression : $ ('. MyBox'). is ('not (: hover)') This works fine when my tests are in Opera 11, FF4, IE7, Chrome 5.
source share