View Full Version : how to filter the file extensions in the file upload type?
08-07-2007, 05:55 PM
how to filter the file extensions in the file upload type? i've used "accept" attribute of the input element as accept="image/jpeg,image/gif". but no use......
i want to upload image files to the server. how to implement this?help me......
08-07-2007, 06:23 PM
Just because a browser "supports" a tag, does not mean that it actually uses it. Here is a web page that indicates that current browsers support the "accept" tag, but don't do anything with it because they don't have to - http://www.webdevout.net/browser-support-html
08-07-2007, 08:29 PM
it is working. but i need, value of the file type should be cleared when user chooses wrong file(other than images)..
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.