W3C home > Mailing lists > Public > www-html-editor@w3.org > April to June 2003

Error in HTML 4.01 specification of 'onchange' event

From: Josh Purinton <w3.z.jp@xoxy.net>
Date: Fri, 9 May 2003 16:07:19 -0700
To: www-html-editor@w3.org
Message-ID: <20030509230719.GA31386@lambda.purinton.org>

According to http://www.w3.org/TR/html401/interact/scripts.html#adef-onchange

  onchange = script [CT]
    The onchange event occurs when a control loses the input focus and its
    value has been modified since gaining focus.

The event would be almost worthless for select controls if it behaved as
specified.  In fact, every browser since Netscape 2 fires the onchange event
when the user selects an option with the mouse, even when the control has not
lost the input focus. 

-- 
Josh Purinton
Received on Friday, 9 May 2003 19:30:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:17:44 GMT