在《INPUT TYPE=“FILE”》里单击打开的浏览文件时,可以只显示JPG和GIF文件吗?
发表于:2007-06-30来源:作者:点击数:
标签:
lt;input type=quot;filequot; accept=quot;quot;gt;br br accept属性列表br 1.accept=quot;application/msexcelquot;br 2.accept=quot;application/mswordquot;br 3.accept=quot;application/pdfquot;br 4.accept=quot;application/poscriptquot;br 5.accept
<input type="file" accept=""><br>
<br>
accept属性列表<br>
1.accept="application/msexcel"<br>
2.accept="application/msword"<br>
3.accept="application/pdf"<br>
4.accept="application/poscript"<br>
5.accept="application/rtf"<br>
6.accept="application/x-zip-compressed"<br>
7.accept="audio/basic"<br>
8.accept="audio/x-aiff"<br>
9.accept="audio/x-mpeg"<br>
10.accept="audio/x-pn/realaudio"<br>
11.accept="audio/x-waw"<br>
12.accept="image/gif"<br>
13.accept="image/jpeg"<br>
14.accept="image/tiff"<br>
15.accept="image/x-ms-bmp"<br>
16.accept="image/x-photo-cd"<br>
17.accept="image/x-png"<br>
18.accept="image/x-portablebitmap"<br>
19.accept="image/x-portable-greymap"<br>
20.accept="image/x-portable-pixmap"<br>
21.accept="image/x-rgb"<br>
22.accept="text/html"<br>
23.accept="text/plain"<br>
24.accept="video/quicktime"<br>
25.accept="video/x-mpeg2"<br>
26.accept="video/x-msvideo"<br>
需要什么选吧!
原文转自:http://www.ltesting.net