Jump to content
rejoice

File input type in html

Recommended Posts

Hi everyone,I need a help.In my site i use the tag,<input type="file" name="file">Here I need to change the label of the browse button from "Browse...." to "Upload".How do I change that?Thanks in advance.

Share this post


Link to post
Share on other sites

It's 'Browse' in IE and FF, and 'Choose' in Opera. The text seems to be generated by the browser, it is not a default value that you can change.

Share this post


Link to post
Share on other sites
It's 'Browse' in IE and FF, and 'Choose' in Opera. The text seems to be generated by the browser, it is not a default value that you can change.
Oh, just a thought, Im no real expert on forms and the like.

Share this post


Link to post
Share on other sites

You cannot change this value it is a system control tied to the operating system. The only thing you can do is use CSS to place an image over top of it and then make sure the image has an onclick function that will effectively click the browse button.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...