I was handling some events using the following code with jQuery 1.7.2:
$().on('focus blur', function(event) {
console.log(event.type);
});
And I have noticed that event.type for both events, prints out: focusin and focusout.
What is difference between focusin/focusout vs focus/blur?