javascript FORM encoding
@March 15, 2008, 1:22 a.m.
encoding | Firefox/Netscape/NN 2 IE 3 Chrome/Safari/DOM n/a |
Read/Write | |
Specifies the MIME type for the data being submitted to the server with the form. For typical form submissions (where the method attribute is set to post), the default value is the proper content type. But if you change the action property for a form by script, consider whether you require a custom encoding for the purpose. This property is read-only in IE 3. See also the encType property. |
|
Example | |
document.orderForm.encoding = "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" in IE; empty string in Netscape 6. |
Permanent URL:
http://javascript.gakaa.com/form-encoding.aspx
Powered by Linode.