2010
01.05

Onchange-event and IE are no friends. Well, it took time for me to find this out.

Yes, IE does not support onchange event.

But NS and Mozilla do.

Solution: Use the onclick event to accomplish the same. This way, all the browsers will be :-)

2 comments so far

Add Your Comment
  1. It can be potentially a bad user experience, imagine a select box where you want to change your state from California to Nevada, your event handler will trigger the moment you click the drop-down box, which is a little counter intuitive.

  2. Oh, I should have mentioned it as :
    “Onchange-event-for-checkbox and IE are no friends.”

    Thanks for pin-pointing :-)