jQuery blur() method

jQuery blur() method


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


The following is the syntax,

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

  • func: When event occur, this function runs


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

We work to create free tutorials for all.

No Comments

Post A Comment