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

[whatwg] Web Forms 2.0 - select element

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 14 Oct 2005 21:05:03 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0510142102570.23945@dhalsim.dreamhost.com>
On Wed, 12 Oct 2005, Jon Levell wrote:
> 
> A simple use-case for this is a web-based email program. With the inbox 
> shown, messages can be marked as selected with check-boxes then actions 
> applied to the selection with a select box. If 5 messages are selected 
> and then say "marked as important" and then 2 more messages are selected 
> and then the operation is repeated the onchange handler is not called.

This is inappropriate use of a <select>. On the long term, the <menu> 
features of WA1 will hopefully address your need more directly. On the 
short term, I would recommend simply setting the value of the <select> 
back to a neutral default in onblur="", or something along those lines.

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

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:43 UTC