Through Javascript Validate The Value Of Input Field on onblur Event

Onblur event triggered when field loses focus. This event is mainly use to validate the field when user moves to another field to fill the values.

How To Check The Value Of Input Field On onblur event


First create one input field. This input field is validated through javascript when field loses focus. On onblur event we call validate_me function.

Validate_me Function

If the field is empty and user moves to another field then alert message occurs which ask user to enter a value.

Tagged , . Bookmark the permalink.

About WebRewrite

I am technology lover who loves to keep updated with latest technology. My interest field is Web Development.