Hi,

I would like to create a simple file upload form. The whole thing should 
be something like described here: http://ch2.php.net/features.file-upload

But I would like to restrict the upload to PDF files. Since I already 
have jQuery running for other purposes I was thinking about using it for 
this as well. (At least for the first stage to check the last three 
letters of the filename. If I am right it is not possible to check the 
MIME type before sending)

My idea is to check the file-input field as soon as the name of the file 
is in there. I am not sure now if I can treat this file-input field like 
a text-input field or if I have to look for something special. If I have 
to treat is special can someone give me more information on how to do it?

Thanks,
Raffael

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to