Name

Input.blur( ): remove keyboard focus from a form element — DOM Level 2 HTML

Synopsis

void blur( )

Description

The blur() method of a form element removes keyboard focus from that element, triggering any onblur event handlers that were registered on the element. Note that calling blur() does not transfer focus to any other element.

Get JavaScript: The Definitive Guide, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.