|
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
|
|
|
|
|
|
|
// |