We have a few search pages that run against a lot of data and take a while to complete. When a user clicks on the search button, we\'d like to not allow them to submit the s
Did a simple work with hide and show, works well with element having input type submit Jquery
$(":submit").click(function (event) { // add exception to class skipDisable if (!$(this).hasClass("skipDisable")) { $(this).hide(); $(this).after(""); } }); 0 讨论(0) 查看其它7个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
$(":submit").click(function (event) { // add exception to class skipDisable if (!$(this).hasClass("skipDisable")) { $(this).hide(); $(this).after(""); } });