$('.xys').live('blur', function() {
});
Say that I have a input textfield with class xyz. This function successfully tells me that the element has lost focus. But how do I get to know that which element has it lost focus to?
Explaining further if say that I click somewhere else or press tab to move to another text field how can I know where has it gone?
You can use
targetproperty ofeventobject:Note that
livemethod is deprecated, you can useonmethod.