Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

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
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.