Bug Tracker

Changes between Initial Version and Version 1 of Ticket #8148, comment 3


Ignore:
Timestamp:
Feb 2, 2011, 5:02:11 PM (9 years ago)
Author:
dmethvin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8148, comment 3

    initial v1  
    33http://jsbin.com/elazu4/8/edit
    44
    5 I think what is happening here is jQuery.event.trigger sets a jQuery.event.triggered flag just before calling the native DOM <a>.focus() event. The browser fires the blur and change events DURING that process, which normally would be handled but are blocked because the flag is checked in eventHandle:
     5I think what is happening here is jQuery.event.trigger sets a jQuery.event.triggered flag just before calling the native DOM <a>.focus() method. The browser fires the blur and change events DURING that process, which normally would be handled but are blocked because the flag is checked in eventHandle:
    66
    77https://github.com/jquery/jquery/blob/master/src/event.js#L402