W3C home > Mailing lists > Public > www-dom@w3.org > April to June 1999

in DOM level 1, "value" attribute of HtmlSelectElement is unclear

From: Adam Dingle <adam@avantgo.com>
Date: Mon, 24 May 1999 13:25:30 -0400 (EDT)
Message-ID: <003401bea60a$5a2f36c0$0b80000a@avantgo.com>
To: <www-dom@w3.org>
Cc: "David Williams" <djw@avantgo.com>
The DOM level 1 specification defines a "value" attribute for the HtmlSelectElement interface.  It's unclear what this attribute means, since the HTML 4.0 specification doesn't define a "value" attribute for the SELECT element.  Should HtmlSelectElement's "value" attribute actually exist?  If so, the explanation of this attribute in the DOM specification is hopelessly vague: it reads "The current form control value". Does this mean the value of the option which is currently selected in the SELECT element?  Also, the "value" attribute is not read-only.  Does this mean that if I set the "value" attribute to X, then the option whose value is X will become selected?

It would be nice if you could address these questions in the DOM errata at

http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html

Thanks!

-adam
Received on Thursday, 27 May 1999 03:13:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:46 GMT