Sravanthi
Sravanthi

Reputation: 121

How to change the name of the image that is being uploaded?

I want to change the name of the image in file uploader using jquery.is there any chance to do that please let me know.I am struggling with that.

I am using the regular html file uploader

Thanks, Sravz

Upvotes: 0

Views: 70

Answers (1)

472084
472084

Reputation: 17885

It is impossible to change what is displayed in the file field after you have chosen a file. You can change the style or hide the text altogether though.

If you need to rename the file you will have to do it using whatever server side language you are using when the file is actually uploaded.

Upvotes: 3

Related Questions