If they\'re the same, then why there are two of this kind of event?
The Jquery documentation has a good focusout vs. blur demo which I'll reproduce below for clarity. In short, focusout
fires if the selector — $('p')
in the demo — is anything including the inputs and parent elements. Whereas, blur
only fires if the selector is on the inputs — $('input')
.
focusout demo
focusout fire
blur fire