Menu

Submit button disable after clicked

Help
Sam Gallo
2010-02-24
2013-06-03
  • Sam Gallo

    Sam Gallo - 2010-02-24

    I added the submit button code:onClick="this.form.submit(); this.disabled = 1;
    Works with Firefox, not IE.
    How to fix?

     
  • TNTEverett

    TNTEverett - 2010-02-25

    Not that there is anything wrong with using java but why would you when the html form submit function works just fine?  Having said that, I have used this code with success.
    <a href="javascript:document.login_form.submit()" ><img src="images/button.gif" class="button" ></a>

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.