rejoice Posted September 4, 2006 Share Posted September 4, 2006 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. Link to comment Share on other sites More sharing options...
msnasiri Posted September 4, 2006 Share Posted September 4, 2006 i think you must use css Link to comment Share on other sites More sharing options...
SFB Posted September 4, 2006 Share Posted September 4, 2006 i think you must use cssI dont think you need to use css. i dont see why you would want to change the browse button to upload because it would still bring up the window to find a file. you can change the submit button to say upload by adding a value to it like i did in the code below. <form action="process.php" method='post'><input type='file' name='file'><input type='submit' vlaue='upload'></form> now if you wanted the user to type in a location you could get rid of the browse button but then you would run the risk of having them input a wrong location or something that does not exsist. I strongly recomend not using the code below. <form action="process.php" method='post'><input type="text" name="file"><inpuit type="submit" value="upload"></form> this post should really be in the html section not php. Link to comment Share on other sites More sharing options...
Little Goat Posted September 5, 2006 Share Posted September 5, 2006 there is no way to change that. In Opera, it says "Choose" instead of "Browse". it all depends on the browser,and the only way to change it is get a different browser, or edit an Open-source one. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now