VOOZH about

URL: https://www.geeksforgeeks.org/html/html-dom-input-search-blur-method/

⇱ HTML DOM Input Search blur() Method - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML DOM Input Search blur() Method

Last Updated : 25 Aug, 2022

The Input Search blur() method in HTML DOM is used to extract or remove focus from the search field when the event occurs.  

Syntax:

searchObject.blur()

Parameters: This method does not contain any parameter values.

Return Value: It does not return any value.

Example: Below program illustrates the use of the input search blur()  method in HTML DOM. 

Output: 

👁 HTML DOM Input Search blur() Method
HTML DOM Input Search blur() Method

Supported Browsers: 

  • Google Chrome 5 and above
  • Mozilla Firefox 4 and above
  • Edge 12 and above
  • Opera 10.6 and above
  • Safari 5 and above
Comment
Article Tags: