jQuery blur() Method
Attach a function to the blur event. The blur event occurs when the <input> field loses focus:
alert("This input field has lost its focus.");
Definition and Usage
The blur event occurs when an element loses focus.
The blur() method triggers the blur event, or attaches a function to run when a blur event occurs.
Tip: This method is often used together with the focus() method.
Trigger the blur event for the selected elements:
Attach a function to the blur event:
|function||Optional. Specifies the function to run when the blur event occurs|