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

Matthew Raymond mattraymond at earthlink.net
Wed Jun 30 10:51:38 PDT 2004


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:
[Snip!]
> 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... :)



More information about the whatwg mailing list