[whatwg] WF 2.0 -- HTMLTextAreaElement [ type ] attribute

Kristof Zelechovski giecrilj at stegny.2a.pl
Sat Sep 15 06:27:53 PDT 2007


If I were one, I would return "text", just like it does in an input control
does.

Cheers
Chris

-----Original Message-----
From: whatwg-bounces at lists.whatwg.org
[mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Garrett Smith
Sent: Friday, September 14, 2007 2:53 AM
To: whatwg at whatwg.org
Subject: [whatwg] WF 2.0 -- HTMLTextAreaElement [ type ] attribute

Regarding the [type] attribute:
================================================
interface HTMLTextAreaElement : HTMLElement {
           attribute DOMString       defaultValue;
  readonly attribute HTMLFormElement form;
           attribute DOMString       accessKey;
           attribute long            cols;
           attribute boolean         disabled;
           attribute DOMString       name;
           attribute boolean         readOnly;
           attribute long            rows;
           attribute long            tabIndex;
  readonly attribute DOMString       type;
================================================

What does the |type| attribute do?

-- 
Programming is a collaborative art.




More information about the whatwg mailing list