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

'accept' Syntax and Note

Note:

Read and write property.
Set the comma-separated MIME types. 
    
Syntax:
    
document.getElementById("inputID").accept = value
document.all.inputID.accept = value // IE only

    

      
      








Related examples in the same category

1.'accept' Example
2.'accept' Possible Values
3.'accept' is applied to