Click a specific submit button with JQuery

前端 未结 6 1360
温柔的废话
温柔的废话 2021-02-05 03:33

I am clicking a submit button using this:

$(\'input[type=submit]\').click(); 

The problem is that I have more that 1 submit button on my page s

6条回答
  •  情深已故
    2021-02-05 03:53

    hmm it cant work with a wizard form with this intacted

    $("#renqform").validate().settings.ignore = ":disabled";
    return $("#renqform").valid();
    

提交回复
热议问题