<script> $("#SUB").click(function () { $("#submitloading").show(); $("#SUB").attr("disabled", true); $.post(location.href, $(‘#mainForm‘).serialize(), function (r) { if (r.status == "0") { myTips(r.msg); $("#SUB").attr("disabled", false); $("#submitloading").hide(); } else { myTips(r.msg, "警告", "error"); $("#submitloading").hide(); $("#SUB").attr("disabled", false); } }) }); </script>
时间: 2024-10-09 21:34:12