![]() |
|
![]() |
||
![]() |
![]() |
|
[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date] select control element requires option element
From: John Russell <ve3ll@rac.ca>
Date: Sat, 28 Aug 2004 14:12:41 +0000 To: www-html@w3.org Message-ID: <41305C2D.6402.623ED6@localhost> 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 ??? Was this just an unanticipated case.... Of course a workaround is to force a blank option, and first insert to list, overwrite rather than adding to list. But that is crude compared to tolerating a blank list in the first place ..... -- john russell ve3ll@rac.ca [those are L's as in LLAMA] http://home.cogeco.ca/~ve3ll http://home.cogeco.ca/~trains http://home.cogeco.ca/~cipherReceived on Wednesday, 1 September 2004 17:44:37 GMT |
|
||||||||||||||||