JohnLee
          JohnLee is on the road.
          posts - 5,comments - 0,trackbacks - 0

          Have known AJAX for a very long time. But here I still want to write it down about how to create DOM Document at Client side.

          1. document.implementation which is supported by Mozilla, Netscape etc
          2. ActiveObject which is provided by MS

          If you are using Mozilla, write code like this:

          if (document.implementation && document.implementation.createDocument) {
          ??xmlDocument?
          = ?document.implementation.createDocument('','', null
          );
          }

          If you are using MS, write code like this:
          xmlDocument? = ? new ?ActiveObject( " MSXML.DOMDocument " );

          Here list down the versions of MSXML:
          MSXML.DOMDocument
          MSXML2.DOMDocument
          MSXML3.DOMDocument
          MSXML4.DOMDocument
          Microsoft.XmlDom
          posted on 2007-01-25 11:41 JohnLee 閱讀(129) 評論(0)  編輯  收藏 所屬分類: Technology

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 昌图县| 黄陵县| 方山县| 阳春市| 淮北市| 海原县| 舞阳县| 上思县| 奇台县| 祁门县| 康定县| 遂平县| 涞源县| 周宁县| 永州市| 岑巩县| 高邮市| 保康县| 宾阳县| 资兴市| 崇仁县| 克什克腾旗| 台南市| 凤阳县| 抚松县| 连南| 陆川县| 泽州县| 彭山县| 四会市| 乌拉特后旗| 库尔勒市| 泸定县| 巴里| 长沙市| 甘洛县| 威信县| 城固县| 尖扎县| 安溪县| 商河县|