W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2004

[whatwg] Quick thought on the Combo Box problem...

From: Matthew Raymond <mattraymond@earthlink.net>
Date: Wed, 30 Jun 2004 13:51:38 -0400
Message-ID: <40E2FDAA.70600@earthlink.net>
voracity wrote:
> a) So I can determine in a script whether something new (not on the 
> list) was entered and b) so I can add my own attributes to each <item> 
> that I can then use to do other things with.
> I can do that without .selectedNode, but it would be more painful (and 
> probably slow for big lists). And, ultimately, it would always be a hack 
> that implements something exactly like .selectedNode.

    Fair enough.

>>    That give me an somewhat questionable idea:
> However, I don't think there should be an attribute like 'allownew' or 
> 'editable', because it's too easily abused (i.e. people might use this 
> instead of <select>). Having to script the behaviour would be 
> disincentive enough.

    I did say it was questionable... :)
Received on Wednesday, 30 June 2004 10:51:38 UTC

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