|
| |||||||
![]() | Welcome to iWEBTOOL Talk, where you talk about
webmaster-related stuff.
1 Register
2 Browse the board
3 Discuss whatever may interest you! | |||||||||||||
![]() |
| | Thread Tools | Search this Thread | Display Modes |
| | #1 |
| Smurf Join Date: Jun 2007
Posts: 28
![]() | Hi frndz. I am facing a very basic problem. I have a form. and in that form I want users to upload a file. Now I want to change the text for the Browse button. I want to write something else other than the browse on that button. So can anyone tell me how to change the text of that button?
__________________ MarbleHost.com - reliable web hosting service |
| |
|
| |||||||
| | #2 |
| iWEBTOOL Moderator Contributor Join Date: Aug 2006 Location: Hungary
Posts: 1,854
![]() ![]() ![]() ![]() ![]() | Would you be so kind to show us the code of the mentioned form? ![]()
__________________ █ Time may come when you will need an excellent eCommerce shopping cart software █ free seo related web directory mérlegek Free shopping cart |
| |
| | #3 | |
| Member Join Date: Apr 2007 Location: www.easywebx.com
Posts: 245
![]() | Use JavaScript to do it. Quote:
__________________ EasyWebX.com offers Cash Rebates up to $100 for lots of web hosting plans .HostDomainZone.com offers cheap domains ($1.99*), web hosting ($3.19) and reseller plans ($59.99/yr) | |
| |
| | #4 |
| Smurf Join Date: Jun 2007
Posts: 28
![]() | <input name="filename" type="file"> this shows a browse button and text box,where we can enter the file name. i just want to change the text on the browse button. and lwbbs..can you please tell me how to do that with javascript i mean give me the code to change the text. thanks
__________________ MarbleHost.com - reliable web hosting service |
| |
| | #5 |
| iWEBTOOL Moderator Contributor Join Date: Aug 2006 Location: Hungary
Posts: 1,854
![]() ![]() ![]() ![]() ![]() | If i were you i would try this code i guess it will work. <input name="filename" type="file" value="Browser button name">
__________________ █ Time may come when you will need an excellent eCommerce shopping cart software █ free seo related web directory mérlegek Free shopping cart |
| |
| | #6 |
| Smurf Join Date: Jun 2007
Posts: 28
![]() | hehehe i have tried this bagi zoltan but it is not working.... ![]()
__________________ MarbleHost.com - reliable web hosting service |
| |
| | #7 |
| Newcomer Join Date: Jul 2007
Posts: 7
![]() | It is made difficult for the simple fact of security. So people are not mislead or tricked into uploading files they would not want uploaded. |
| |
| | #8 |
| Newcomer Join Date: Jul 2007
Posts: 7
![]() | Okay, I did some searching and found this. I do not know if it will work when put with the upload button. I have my own upload file script on my site, so I might try it out. Code:
May I also ask why you want to change the text? Do you want to use "Add" or something like that? |
| |
| | #10 |
| Newcomer Join Date: Jul 2007
Posts: 7
![]() | Thanks, though I tried it with my script and it did not work. Would not upload the files--when I clicked the upload buttons it just made the filename box to be uploaded blank. That's probably a good thing though, because I really do not see why anyone would need to change the text. Not necessarily talking about you koitech, but it seems as though it could lead to underhanded things. |
| |
| | #11 |
| Smurf Join Date: Jun 2007
Posts: 28
![]() | well it did not work for me as well. and I am developing a website in my local language. On that site,everything is in my local language. So I want to write on browse button some text in my local language. That is why I am asking you people for help.
__________________ MarbleHost.com - reliable web hosting service |
| |
| | #12 |
| Newcomer Join Date: Jul 2007
Posts: 7
![]() | Whatever language your visitor has for their browser, that is the language in which the word for browse will be used. If you still want to though, here is another link that may help you: http://www.dreamincode.net/forums/showtopic15621.htm |
| |
| | #13 | |
| Member Join Date: Apr 2007 Location: www.easywebx.com
Posts: 245
![]() | For this type, JavaScript can't handle. You can refer the following post: http://www.quirksmode.org/dom/inputfile.html winxclub's answers use the same method. Quote:
__________________ EasyWebX.com offers Cash Rebates up to $100 for lots of web hosting plans .HostDomainZone.com offers cheap domains ($1.99*), web hosting ($3.19) and reseller plans ($59.99/yr) | |
| |
(Threads which have no activity for more than 30 days are automatically closed.) |
| Quick Reply | ||
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Google change SERP with change of Title | peterko | 5 | 06-25-2007 04:53 PM | |
| What Is Change??? | AmericanOnlineMall | General Talk | 1 | 06-07-2007 10:00 PM |
| As We Change® | vbk2 | Advertise your website | 0 | 05-11-2007 09:25 AM |
| Change DB Name | pakadtrader | MySQL | 6 | 02-09-2007 08:56 PM |
| Seriously takes 2 minutes of your time, this will change the way you buy text links | www.buulk.com | Advertise your website | 5 | 04-14-2006 06:35 PM |