$(function(){
     
    var time=500;
    var interval;
 
    function run(){    
 
    interval=setInterval(fun,time);
    }
     
     
    function fun(){    
     
    $.ajax( {
            //alert();
        type : 'post',
        dataType : 'text',
        url : 'mynews!query',        
        success : function(data) {        
        alert();    
    },error:function(xhr){alert('出错\n'+xhr.responseText)}
    });
     
    };
    run();
    });

 

相关文章:

  • 2022-03-02
  • 2022-02-01
  • 2021-12-31
  • 2021-07-17
  • 2021-09-11
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-14
  • 2021-10-16
  • 2021-07-28
  • 2021-11-06
  • 2022-12-23
  • 2022-12-23
  • 2021-11-26
相关资源
相似解决方案