In this tutorial , we will discuss how to handle blur event of jQuery. In the below example , there are two input field ,when you click inside or change text of the first input field and after it, you click on any other elements in the page ,it shows an alert box .The blur event is sent to an element when it loses focus. An element can lose focus via keyboard commands, such as the Tab key, or by mouse clicks elsewhere on the page.
When First input field loses focus :
Recommend the tutorial