Home > Web Front-end > JS Tutorial > body text

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

WBOY
Release: 2016-05-16 16:18:55
Original
1473 people have browsed it

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:

, ,

, , , , ,
,