onchange attribute

Type:action
Inherited:no
Used By:input
See:type

The onchange attribute can be set on input elements of type "text" or "select" to run a specific action when the field is changed. This is typically used to run a validation routine on the field contents.