87,904
社区成员
发帖
与我相关
我的任务
分享
<button id="but">执行程序</button>
$("#but").click(function () {
$.ajax({url:"cba.php", function () {
//next();
}});
});
<button id="but" afterAction="002" beforeAction="001">执行程序</button>
[
{"Number":"001", "Code": "function () { $.get("abc.php", function (data) { if (data=='ok') { //next(); } else alert('不能执行'); }); }"},
{"Number":"002", "Code": "function () { location.href='ok.html'}"}
]