rejoice 0 Posted September 4, 2006 Report 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. Quote Link to post Share on other sites
msnasiri 0 Posted September 4, 2006 Report Share Posted September 4, 2006 i think you must use css Quote Link to post Share on other sites
SFB 0 Posted September 4, 2006 Report 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. Quote Link to post Share on other sites
Little Goat 0 Posted September 5, 2006 Report 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. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.