jQuery blur() method

jQuery blur() method

Definition

Use the jQuery blur() method, if you want to fire an event when the input field loses focus.

Syntax

The following is the syntax,

The following is the parameter used by the blur() method,

  • func: When event occur, this function runs

Example

The following is the output,

Add a value, we added 001 in the input field and click outside the input field. An alert box will generate,

jQuery bind() method
jQuery change() method
Studyopedia Editorial Staff
Studyopedia Editorial Staff
[email protected]

We work to create free tutorials for all.

No Comments

Post A Comment