'accept' Syntax and Note : accept « Javascript Properties « JavaScript Reference
- JavaScript Reference
- Javascript Properties
- accept
'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