Modify ↓
Ticket #7379 (closed bug: duplicate)
Hover function on disabled input doesn't work
| Reported by: | shibo.2kx@… | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | 1.5 |
| Component: | event | Version: | 1.4.3 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
When using the hover event on a disabled input, no event is raised (beside for opera 10.63). Same goes for bind with mouseover.
$(document).ready(function(){ $('.hover-this').bind('mouseover', function(){ $(this).css({border: '1px solid red'}); }); $('.hover-this').hover(function(){ $(this).css({border: '1px solid red'}); }, function(){ $(this).css({border: '0px'}); }); });
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

jsFiddle of the above code: http://jsfiddle.net/LRtQY/