Friday, November 18, 2005

Form File Filter

1, input name="pictures" accept="image/*" type="file"
2, input name="pictures" accept="image/gif,image/jpg" type="file"
3, input name="pictures" accept="*.gif,*.jpg" type="file"
Just try the file type filter as acccept attribute. None of above works on IE6 and Firefox.

1 comment:

Alex said...

From bugzilla :

https://bugzilla.mozilla.org/show_bug.cgi?id=83749