PDA

View Full Version : Change listener firing multiple times on select field



meyerovb
30 Jun 2010, 7:24 AM
Attach a change listener to a select field, alert(1); in it, switch the select field, get an alert. Click elsewhere on the page afterward, get another alert. This is because it is firing change on blur as well as on change for select fields.