W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2008

[whatwg] Web Forms: change event

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 29 Oct 2008 00:41:05 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0810290040420.1237@hixie.dreamhostps.com>
On Wed, 6 Jun 2007, Sander wrote:
> 
> The specs say that for <select> "...the change event shall be fired when 
> the selection is completed...". Does this mean that, when using a 
> keyboard for navigation, the change event is fired when the user hits 
> 'enter' or when she navigates from one option to another? I assume it's 
> the former, but I just to be sure as selectboxes with change event 
> handlers are often (ab)used for navigation purposes. So, can anyone 
> confirm my assumption? Thanks.

Depends on the platform. I've used different wording in HTML5, let me know 
if it's confusing still (it probably is), and what it should say instead.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 28 October 2008 17:41:05 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:06 UTC