打印本文 打印本文 关闭窗口 关闭窗口
adapter和facade模式在Ajax中的应用
作者:武汉SEO闵涛  文章来源:敏韬网  点击数4528  更新时间:2009/4/23 11:30:46  文章录入:mintao  责任编辑:mintao
        {

            this.req=new XMLHttpRequest();

        }

        else if (window.ActiveXObject)

        {

            this.req=new ActiveXObject("Microsoft.XMLHTTP");

        }

       

        if (this.req)

        {

            try

            {

                var loader=this;

               

                this.req.onreadystatechange=function()

                {

                    loader.onReadyState.call(loader);

                }

               

                if ("GET" == this.method)

                {                  

                    this.req.open(''''GET'''',this.url,true);

                    this.req.send(null);

   &n

上一页  [1] [2] [3] [4] [5] [6]  下一页

打印本文 打印本文 关闭窗口 关闭窗口