Monday, 19 August 2013

is it possible that .remove event triggers simulated .blur event?

is it possible that .remove event triggers simulated .blur event?

I have the .blur() event bound to an element. Whenever I remove an element
with $(elem).remove() method, the .blur event is triggered for the same
element with the property 'isSimulated:true'. I suspect that .remove()
method causes focus lost and triggers .blur event. Is that possible? How
can I track down why .blur event was triggered?

No comments:

Post a Comment