Home | Top | Free Ajax Editor | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.


ENCTYPE Attribute | enctype Property

Sets or retrieves the Multipurpose Internet Mail Extensions (MIME) encoding for the form .

Syntax

HTML Scripting
<FORM  ENCTYPE = sType ... >
FORM . enctype ( v ) [ = sType ]

Possible Values

sType String that specifies or receives the format of the data being submitted by the form.

The property is read/write. The property has a default value of application/x-www-form-urlencoded .

Remarks

The enctype property was introduced in Microsoft® Internet Explorer 6. If backwards compatibility is required, use the encoding property.

Internet Explorer also recognizes multipart/form-data, which, along with a POST method, is required to submit a file upload to the server.

Standards Information

This property is defined in HTML 3.2 and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .

Applies To

[ Object Name ] Platform Version
Win32:
 
FORM
Home | Top | Free Ajax Editor | JavaScript Editor JavaScript EditorGet Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.