♦ jQuery blur()
♣ Example7: jQuery blur()
The blur() method is used in form field functioning.Action is executed when the form input is not-active to be entered.
Below is the representation of blur() Syntax.
Basic Syntax
$(selector).blur(function(){
//code_block
})
//code_block
})
Syntax Explanation:
selector : element selector for event to be performed
code_block : code for execution, which will execute when event is performed
In this example, .code_block : code for execution, which will execute when event is performed
Example
Input:
Output: