Javascript Reference
Categories: InputTypeFile

javascript InputTypeFile accept

@March 15, 2008, 1:22 a.m.
acceptFirefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

Read/Write  

Provides an optional advisory property consisting of a string of one or more comma-delimited MIME types of files that are being uploaded. Values have no impact on this element in current browsers.

 
Example
 
document.entryForm.myFileUpload.accept = "image/gif";
 
Value

String.

 
Default

None.


Powered by Linode.