javascript InputTypeFile accept

acceptNN 6 IE 4 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.


1035,Nickname,Homepage or email,Comments here,Add comment