W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2000

HTMLInputElement, type attribute (errata?)

From: Adrian Cotter <adrian.cotter@frogdesign.com>
Date: Thu, 10 Aug 2000 20:55:49 -0400 (EDT)
Message-ID: <DFDD5BF9CD68D411ABCB00B0D0495DC30549D3@frogsfex.frogdesign.com>
To: "'www-dom@w3.org'" <www-dom@w3.org>
Have a question regarding

Interface HTMLInputElement 
readonly attribute DOMString type;

it seems strange that this attribute is read only. how is able to create a
"password" or "hidden" field as opposed to the "text" field, when this is
read only?

if I do the following I would obviously get an error (as I do in Mac IE 5):
	var formElement = document.createElement("INPUT");

I'm I missing something, or is there some other way to create a hidden or
password (or button,etc) element?


adrian cotter
Received on Friday, 11 August 2000 08:54:18 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:07 UTC