Home  >  Article  >  Web Front-end  >  Usage example of onblur event of Event object in html DOM_javascript skills

Usage example of onblur event of Event object in html DOM_javascript skills

WBOY
WBOYOriginal
2016-05-16 16:18:551491browse

The example in this article describes the usage of the onblur event of the Event object in the DOM of html. Share it with everyone for your reference. The specific analysis is as follows:

The onblur event occurs when an object loses focus.

The syntax is as follows:

Copy code The code is as follows:
onblur="SomeJavaScriptCode"

SomeJavaScriptCode required. Specifies the JavaScript to be executed when this event occurs.

HTML tags that support this event:

, ,

, , , , ,
,