Bug Tracker

Modify

Ticket #7379 (closed bug: duplicate)

Opened 3 years ago

Last modified 14 months ago

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

comment:1 Changed 3 years ago by anonymous

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

comment:2 Changed 3 years ago by jitter

Practically a dupe of #7359. Check that bug report and my/the comments there

comment:3 Changed 3 years ago by rwaldron

  • Status changed from new to closed
  • Resolution set to duplicate

comment:4 Changed 3 years ago by rwaldron

Duplicate of #7359.

comment:5 Changed 3 years ago by rwaldron

  • Priority changed from undecided to high
  • Component changed from unfiled to event

More evidence to support the discussion of adding workaround support for this issue.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.