onFrustrate

November 6, 2007 under Internet Explorer, Javascript, Programming

The onChange event for HTML form elements is fired when the value of that element actually changes in Firefox/Seamonkey, Opera, Safari and any other other modern Web browser. It just makes sense. Yet for some lame reason with Internet Explorer, onChange is only fired once the focus on said form element is lost, effectively making onChange act like some freakish onChange+onBlur hybrid. WTF? I’m just wondering what the design reason that the Internet Explorer team at Microsoft came up with could be, is all.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
comments: 2 »

2 Responses to "onFrustrate"

  • Geoff says:

    The M$ design team ran out of crank that day and had to settle for low-grade heroin…

    I truly wish M$ would get out of the web browser business if they can’t be bothered to get it right – my development process tends go something like:

    1) Develop clients application to run in FF, Opera, Safari, Chrome, Etc.
    2) Hack application to make it behave properly in IE.

  • Geoff says:

    A workaround is to use ‘onclick’ rather than ‘onchange’. Onlick fires when you would expect it to in IE.

    They must have had the good drugs that day.

Leave a Reply

Your email address will not be published. Required fields are marked *

Comment

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>