本帖最后由 imhongbo 于 2010-01-30 09:22:18 编辑

解决方案 »

  1.   

    通过Ajax获得url指定的页面,成功后执行showResult函数
      

  2.   

    function (id) 这个方法 没有方法名,怎么调用呢?
      

  3.   

    是哈~新鲜,看不懂,他就是想只运行一次,也得后面加点东西啊,不运行,又不让调用~  迷茫~function (id) 
            {              
                createXMLHttpRequest(); 
                var url= "Handler.ashx?did="+id+"&c="+Math.random().toString(); 
                xmlHttp.open("GET",url,true);            
                xmlHttp.onreadystatechange=showResult; 
                xmlHttp.send(null); 
            } (写点东西);
      

  4.   

    参考:
    http://school.itzcn.com/special-spid-28.html
    上面讲解的比较详细,希望对楼主有所帮助。