![]() |
|
|
+ Search |
![]()
|
Aug 21st, 2000 09:04
Martin Honnen, lakshmi lakshmi,
HTML 4 provides the ACCEPT attribute for that, i.e. <INPUT TYPE="file" ACCEPT="list of mime types"> should let the browser only offer files of the specified mime types for selection e.g. <INPUT TYPE="file" ACCEPT="text/html"> should only allow selection of .htm/.html files. It seems however that no current browser (NN4, NN6, IE4/5) supports that.