'encoding' Syntax and Note : encoding « Javascript Properties « JavaScript Reference

'encoding' Syntax and Note

Note:

Read and write property. 
Sets the MIME content type code, 
alerting the server that the data submitted is in a MIME type. 


Default value: 
application/x-www-form-urlencoded.
    
    
    
Syntax:
    
document.getElementById("formID").encoding = value
document.all.formID.encoding = value // IE only
document.encoding = value

    

      
      








Related examples in the same category

1.'encoding' Example
2.'encoding' is applied to