HTML » input » onchange

The onchange attribute is an event that allows the execution of JavaScript code when the form control (field) has been changed and loses focus.