View Single Post
Old 03-07-2005, 06:22 PM   #3 (permalink)
idx
Senior Grasshopper
 
idx's Avatar
 
Join Date: Jun 2003
Location: FL
Posts: 317
idx is on a distinguished road
Perhaps I'm misreading the question [skimmed it], but I don't believe you can modify a file upload box with javascript. If so then what's stopping the site from uploading _any_ file on your PC?

You can certainly do this for any other form element, but for file uploads I've always had to use the standard.

Code:
<input type="file" name="foo">
Note, the form must POST and must contain enctype="multipart/form-data" in the form definition.

-r
idx is offline   Reply With Quote