摘要: html页面:<script> $(function(){ function test(){ $url="xx.php"; comet=$.post($url,function(data){ if(data==null){ comet.abort(); //关闭之前的comet ajax请求 test(); //如果返回空则继续请求 return; } //$('#sub').append('<div>'+dat... 阅读全文
posted @ 2013-03-25 17:52 忆殇之痕 阅读(366) 评论(0) 推荐(0) 编辑