input type=file customisation

  • Thread starter Ersin Gençtürk
  • Start date
E

Ersin Gençtürk

hi ,

I need to customize <input type=file , tag.

I find a way to do that : on the client side by javascript and css first , I
am hiding the fileupload object , then I am calling the click event of
fileupload object.This opens the select files dialog box of file upload and
user will be able to select the file that he wants to upload.But it seems
that internet explorer does not allow uploading files selected by using this
method.Because when the user clicks submit button.It resets the selected
filename in the file upload tag.But I know that it works (for example
google's new mail service : gmail works like this) what am I missed ? is
anybody knows how to do this ?
 
J

Joe Fawcett

Ersin Gençtürk said:
hi ,

I need to customize <input type=file , tag.

I find a way to do that : on the client side by javascript and css first ,
I
am hiding the fileupload object , then I am calling the click event of
fileupload object.This opens the select files dialog box of file upload
and
user will be able to select the file that he wants to upload.But it seems
that internet explorer does not allow uploading files selected by using
this
method.Because when the user clicks submit button.It resets the selected
filename in the file upload tag.But I know that it works (for example
google's new mail service : gmail works like this) what am I missed ? is
anybody knows how to do this ?
Can't you examine Google's code then? File upload is subject to a lot of
restrictions to prevent any chance of uploading a file without the user's
full knowledge and permissions.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top