.blur() in jQuery

It helps to add an event occurs, when an element loses focus.

.blur()

// To add an alert, when the < input> field loses focus.

$(“input”).blur(function(){
    alert(“Handler for .blur() called.This input field has lost its focus.”);
});