jquery-post get 同步问题
摘要:解决方法1: 在全局设置: $.ajaxSetup({ async : false}); 然后再使用get、post请求$.get("register/RegisterState", {test : 12}, function(data, status) { if (status == "success") { data = eval("(" + data + ")"); aDataSet = data; alert("data is " + aDataSet); } else { al...
阅读全文
posted @ 2014-03-12 10:57