Mega Code Archive

 
Categories / JavaScript Reference / Javascript Properties
 

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