W3C home > Mailing lists > Public > www-html@w3.org > September 2004

Re: select control element requires option element

From: Trejkaz Xaoza <trejkaz@xaoza.net>
Date: Thu, 2 Sep 2004 11:35:41 +1000
To: www-html@w3.org
Message-ID: <20040902013540.GB29115@dev.xaoza.net>
At Thu, Sep 02, 2004 at 12:40:01AM +0000, Ian Hickson wrote:
> 
> On Sat, 28 Aug 2004, John Russell wrote:
> > 
> > It is clearly stated in html4.01 rec that at least one 
> > option element is required in a select element...
> > 
> > However these days option elements can be added dynamically
> > thru scripts.  What if one wanted to create a blank list whose
> > elements were to be added later as in my example at
> > 
> > http://home.cogeco.ca/~ve3ll/jstutor4.htm#dy
> > 
> > This page will not verify using the current spec.  Should your
> > recommendations limit the use of dynamic scripting ???
> 
> Note that the Web Forms 2.0 proposal addresses this by allowing empty 
> <select> elements:
> 
>    http://www.whatwg.org/specs/web-forms/current-work/#changes

Not to mention, HTML-style forms are going out of fashion in the next XHTML anyway. :-)

TX

-- 
'Every sufficiently advanced technology is indistinguishable from magic' - Arthur C Clarke
'Every sufficiently advanced magic is indistinguishable from technology' - Tom Graves

             Email: Trejkaz Xaoza <trejkaz@xaoza.net>
          Web site: http://xaoza.net/trejkaz/
         Jabber ID: trejkaz@jabber.xaoza.net
   GPG Fingerprint: 9EEB 97D7 8F7B 7977 F39F  A62C B8C7 BC8B 037E EA73

Received on Thursday, 2 September 2004 01:35:47 GMT

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