Disable submit button ONLY after submit

前端 未结 13 466
囚心锁ツ
囚心锁ツ 2020-12-02 22:49

I have the following HTML and jquery:






Test disabling submit button fo

相关标签:
13条回答
  • 2020-12-02 23:45
      $(function(){
    
        $("input[type='submit']").click(function () {
            $(this).attr("disabled", true);   
         });
      });
    

    thant's it.

    0 讨论(0)
提交回复
热议问题