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

DOM1 Error in HTMLInputElement::value

From: L. David Baron <dbaron@fas.harvard.edu>
Date: Fri, 30 Apr 1999 22:36:38 -0400 (EDT)
Message-Id: <199905010236.WAA05690@login4.fas.harvard.edu>
To: www-dom@w3.org
The value attribute of Interface HTMLInputElement's description [1]
says:

  The current form control value. Used for radio buttons and check
  boxes. See the value attribute definition in HTML 4.0.

It is not used only for radio buttons and check boxes.  It is used for
most types of input elements, but it is mandatory only for radio
buttons and check boxes.  It is also used, for example, to specify the
initial text in text input boxes or file uploads or the text on
buttons. [2]

David

[1] http://www.w3.org/TR/REC-DOM-Level-1/level-one-html.html#ID-6043025
[2] http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.4

L. David Baron      Freshman, Harvard      dbaron@fas.harvard.edu
Links, SatPix, CSS, etc.  < http://www.fas.harvard.edu/~dbaron/ >
WSP CSS AC                   < http://www.webstandards.org/css/ >
Received on Friday, 30 April 1999 22:36:44 GMT

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