#11574 closed bug (invalid)
jquery does not recognize recognize :hover in IE compatibility view
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | selector | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi
I recently get an error when use is(':hover') in IE9 compatibility view. I ask question in StackoverFlow but I don't get any proper answer.so I think this is a bug.
Link to test : http://jsfiddle.net/marcuswhybrow/LL5JD/
Change History (4)
comment:1 Changed 11 years ago by
Component: | unfiled → selector |
---|---|
Priority: | undecided → low |
Resolution: | → invalid |
Status: | new → closed |
comment:2 Changed 11 years ago by
I my example in JsFiddle I don't select any element.I just want to get status of mouse pointer and element.If :hover does not work on IE 7 jQuery is not cross browser.How I can write :hover equivalent for IE 7?
comment:3 Changed 11 years ago by
If :hover does not work on IE 7 jQuery is not cross browser.
jQuery doesn't and can't support every feature on every browser. Notice that jQuery doesn't try to make border-radius
work on IE7 either.
How I can write :hover equivalent for IE 7?
That is a great forum question, but not appropriate for a bug tracker.
comment:4 Changed 11 years ago by
you don't need ":hover" equivalent
i think that .hover() function can does much more than your require
see here: http://api.jquery.com/hover/
:hover is not a valid jQuery selector: http://api.jquery.com/category/selectors/
However, querySelectorAll, which is used by jQuery on modern browsers, does support the :hover pseudo selector, and as you've seen, works there.