Wednesday, August 3, 2011

JS onChange event

The onChnage event fires when the user leaves the control.

eg.

onchange select-box
It doesnt fires when you select a select-box en use the arrow keys to navigate through the options, it fires when you leave the selectbox.