Disable submit button ONLY after submit

前端 未结 13 624
囚心锁ツ
囚心锁ツ 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.

提交回复
热议问题