FileUpload.type (Property)

The type of a form input element.

Availability:

DOM level - 1
JavaScript - 1.1
JScript - 3.0
Internet Explorer - 4.0
Netscape - 3.0
Opera - 3.0
Property/method value type:String primitive
JavaScript syntax:-myFileUpload.type

The type value for a FileUpload is always "file". This value is necessary to determine the type of form element because this object is really an instance of the Input class.

See also:Input.type

Property attributes:

ReadOnly.