.focusout() Keyboard Event

Syntax

.focusout()

Description

.focusout keyboard event is used to bind a function when an element or anyother element inside it loses focus. The example stated below shows you how to change the style of the form and display field validation when the event is triggered.

Example Code

Result:

First Name:
Last Name:

Password:

focusout:


Ask Questions

Ask Question