codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  disabling submit after clicking once  geeta40 at 16:27 on Tuesday, June 05, 2007
 

Hi all

New to js
couldnt figure out how to disable the submit and change the color once clicked

code is

<td ><a href="javascript:document.application.submit();" onclick="this.disabled=true;" class="red12">Submit</a></td>

<td><a href="javascript:document.application.submit();" onclick = "this.disabled=true;"><img src="/img/submit_red.gif" width="21" height="17" border="0" hspace="5" alt="Submit" title="Submit"></a></td>

I used onclick but i dont think its working

Thanks for help








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
•  Unix command output displayed 0 in browser
•  Perl 5.6 PPM is not working
•  Re: Need Code
•  telnet to a system with username and password using perl
•  Re: validating drop down
•  Code to encrypt the Password or any string
•  Re: ?0:1; ?????? What this means?
•  Re: Need some help making a C++ program
•  Re: urgent........regarding to swings


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2007