Side navigation
#7379 closed bug (duplicate)
Opened November 02, 2010 02:04PM UTC
Closed November 02, 2010 09:06PM UTC
Last modified March 15, 2012 12:48PM UTC
Hover function on disabled input doesn't work
Reported by: | shibo.2kx@gmail.com | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | 1.5 |
Component: | event | Version: | 1.4.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
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.
#!js $(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'}); }); });
#!html <fieldset style="width: 350px; margin: auto; text-align: center;"> <legend>For these inputs</legend> <input id="input-enabled" class="hover-this" type="text" value="input enabled" /> <input id="input-disabled" class="hover-this" type="text" value="input disabled" disabled="disabled" /> <i>Both input have 'hover-this' as class</i> </fieldset> <br /><br />
Attachments (0)
Change History (5)
Changed November 02, 2010 02:08PM UTC by comment:1
Changed November 02, 2010 05:37PM UTC by comment:2
Practically a dupe of #7359. Check that bug report and my/the comments there
Changed November 02, 2010 09:06PM UTC by comment:3
resolution: | → duplicate |
---|---|
status: | new → closed |
Changed November 02, 2010 09:07PM UTC by comment:5
component: | unfiled → event |
---|---|
priority: | undecided → high |
More evidence to support the discussion of adding workaround support for this issue.
jsFiddle of the above code: http://jsfiddle.net/LRtQY/