$(function() { to_page(); setInterval("isHave();",5000); }); function isHave(){ $.ajax({ url : "${APP_PATH}/isHave", data : {}, datatype: "json", type : "post", success : function(result) { //console.log(result); }, error:function (){ } }); }
ajax轮询
猜你喜欢
转载自blog.csdn.net/qq_35348457/article/details/79483491
今日推荐
周排行