file有个accept属性,可是好象不起作用ACCEPT Attribute | accept Property  Internet Development Index --------------------------------------------------------------------------------Sets or retrieves a comma-separated list of content types.SyntaxHTML <INPUT ACCEPT = sAccept... >  
Scripting INPUT.accept(v) [ = sAccept ] Possible ValuessAccept String that specifies or receives comma-separated list of content types. The property is read/write. The property has no default value.ResThe information from the list can be used to filter out nonconforming files when prompting a user to select files to be sent to the server using the <INPUT> element with type="file".Examples of content types include "text/html", "image/png", "image/gif", "video/mpeg", "audio/basic", "text/tcl", "text/javascript", and "text/vbscript". For the current list of registered Multipurpose Internet Mail Extensions (MIME) types, see MIME types . There is no functionality implemented for this property unless defined by the author.