|
Welcome to oylinki.com!
ALL » DHTML >> View Article
|
|
| Use onBlur in your DHTML.(Technology Tutorial) |
By:
Michael |
|
There are a number of standard events that get coded to as a regular matter of course in DHTML--onChange, onLoad, and onClick to name just a few. One that doesn't get as much recognition as it probably deserves is onBlur.
Many mistakenly believe that onChange fires whenever the value in the related field is changed. This isn't the case. OnChange only fires after the changes have been committed--most commonly by submitting the form. It may be too late at that point, though, to do what you need it to do. |
|
|
|
|