1. Home
  2. Computing & Technology
  3. JavaScript

Onblur

By , About.com Guide

Definition: The onblur event is used to define actions to be taken when the object to which the event is attached loses the focus ie. ceases to be current. This is not a reserved word so you can declare your own variable or function called onblur but if you do then you will not be able to use this event.
Examples:
<input type="text" onblur="validateValue(this)"
Explore JavaScript
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. JavaScript
  4. Reference
  5. Javascript Glossary - Onblur

©2009 About.com, a part of The New York Times Company.

All rights reserved.