Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ÓÃjavascript´úÂëÒì²½»ñÈ¡xmlÖеÄÖµ

ÈçÌ⣺
²Î¿¼http://topic.csdn.net/u/20090912/12/af0562a2-6869-48b8-a1a4-bc165c02fa4d.html
ÖÐÎҵĻظ´
°ÑxmlReportData.async = "false"; ¸Ä³ÉxmlReportData.async = "true";¾ÍÊÇÒì²½

»òÕßhttp://topic.csdn.net/u/20090911/13/afedae08-8277-47d0-b481-2d1b27d49d63.html
ÖÐÎҵĻظ´..


ÒýÓÃ
Index.htmlÎļþ:
HTML code <scriptlanguage="javascript">var xmlDoc;function initialize()
{if(window.ActiveXObject)
    {
      xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
      xmlDoc.onreadystatechange=function()
      {if(xmlDoc.readyState==4)
        {
          handleXmlDoc();
        }
      }
      xmlDoc.load("data.xml");
    }elseif(document.implementation&&document.implementation.createDocument)
  {
    xmlDoc=document.implementation.createDocument('','',null);
    xmlDoc.onload=handleXmlDoc;
    xmlDoc.load("data.xml");
  }
}function handleXmlDoc()
{var root=xmlDoc.documentElement;var info=root.getElementsByTagName("info")[0];
  alert(info.getAttribute("type"));for(var


Ïà¹ØÎÊ´ð£º

aspÖÐÓÃjavascript¶¯Ì¬¸Ä±äImageµÄsrcµÄ·¾¶ÎÊÌâ

<form id="form1" runat="server">
  <div>
  <script type="text/javascript">
  function oo(a){
  document.getEleme ......

ActiveXºÍJavaScriptµÄ½»»¥ÎÊÌâ

    ÎÊÌâÃèÊöÈçÏ£º
    ÓÃC#¿ª·¢µÄActiveXǶÈëÍøÒ³ÖУ¬¸ÃActiveXÖÐÓÐÒ»¸ö°´Å¥button1.ÏÖÔÚҪʹµÃÓû§µ¥»÷ÁËbutton1ºóʵÏÖÒ³ÃæÌøתµÄ¹¦ÄÜ£¬¼´Óɵ±Ç°µÄ1.htmÌøתµ½2.htm¡£
    Î ......

JavaScriptµÄÒ»¸öÎÊÌâ

<script>
with(document)
{
for(var i=0;i <streams.length;i++)
writeln(" <p> <a href=# onclick=change(streams[i].url)>"+streams[i].name+" </a> < ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ