Javascript Reference
Categories: FORM

javascript FORM enctype

@March 15, 2008, 1:22 a.m.
enctypeFirefox/Netscape/NN 6 IE 5(Mac)/6(Win) Chrome/Safari/DOM 1  

Read/Write  

Provides the W3C DOM property name for what had been the encoding property of earlier DOM implementations. Current browsers support both property names. See the encoding property.

 
Example
 
document.orderForm.enctype = "text/plain";
 
Value

Case-insensitive MIME type (content type) value as a string. For multiple items, a comma-delimited list is allowed in a single string.

 
Default

"application/x-www-form-urlencoded"; empty string in Netscape 6.


Powered by Linode.