snike Established Member ★ 15 ★ Impact 3 Sep 25, 2006 833 views 9 replies #1 How can i make a submit button that changes text when u click it. Example: It says Submit Before upload . When you click it..it says "Please wait for upload"
How can i make a submit button that changes text when u click it. Example: It says Submit Before upload . When you click it..it says "Please wait for upload"
netzilla VIP Member VIP ★ 20 ★ Impact 54 Sep 26, 2006 #2 You could use javascript to do that probably with an onclick action I would think.
Jim_ Established Member ★ 20 ★ Impact 33 Sep 26, 2006 #3 Code: <input name="upload" type="submit" value="Upload!" onclick="this.value='Please Wait...';this.disabled=true;" />
Code: <input name="upload" type="submit" value="Upload!" onclick="this.value='Please Wait...';this.disabled=true;" />
snike Established Member ★ 15 ★ Impact 3 Sep 27, 2006 #5 The code does not work. Well it does but when I click Submit it it says Please Wait and does nothing at all.... <input name="upload" type="submit" value="Upload!" onclick="this.value='Please Wait...';this.disabled=true;" /> ^^^That is the code^^^^^
The code does not work. Well it does but when I click Submit it it says Please Wait and does nothing at all.... <input name="upload" type="submit" value="Upload!" onclick="this.value='Please Wait...';this.disabled=true;" /> ^^^That is the code^^^^^
Jim_ Established Member ★ 20 ★ Impact 33 Sep 27, 2006 #6 Should still work. :\ Try this. Make your <form> tag look like this: <form action="whatever" name="test" method="post"> and have the button's code be this: <input name="upload" type="submit" value="Upload!" onclick="this.value='Please Wait...';this.disabled=true;document.test.submit();" />
Should still work. :\ Try this. Make your <form> tag look like this: <form action="whatever" name="test" method="post"> and have the button's code be this: <input name="upload" type="submit" value="Upload!" onclick="this.value='Please Wait...';this.disabled=true;document.test.submit();" />
Kate Domainosaurus RexTop Member VIP ★ 20 ★ Impact 21,828 Sep 27, 2006 #7 I have the same issue with Opera. It works with Netscape. However if I remove this.disabled=true; it's OK. I assume the form may not be submitted because the submit button has just been disabled
I have the same issue with Opera. It works with Netscape. However if I remove this.disabled=true; it's OK. I assume the form may not be submitted because the submit button has just been disabled
snike Established Member ★ 15 ★ Impact 3 Sep 28, 2006 #9 hmf. Too lazy to use it now. Thanks you all. I used the FFH script. Nice script. I got a headache. Ak.
hmf. Too lazy to use it now. Thanks you all. I used the FFH script. Nice script. I got a headache. Ak.
Camron VIP Member VIP ★ 15 ★ Impact 44 Sep 28, 2006 #10 snike said: hmf. Too lazy to use it now. Thanks you all. I used the FFH script. Nice script. I got a headache. Ak. Click to expand... If you need more help with that I may be able to get it working for you
snike said: hmf. Too lazy to use it now. Thanks you all. I used the FFH script. Nice script. I got a headache. Ak. Click to expand... If you need more help with that I may be able to get it working for you