Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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


Ïà¹ØÎÊ´ð£º

¼±ÇóÒ»¸öÔÚÍøÒ³ÖÐÑéÖ¤Óû§ÊäÈëµÄJavaScript´úÂë

±ÈÈçÓÐÒ»¸ötextbox£¬Óû§ÊäÈëºóµãbutton°´Å¥Ê±£¬ÊµÏÖÓÃJavaScript¶ÔtextboxÊäÈëÐÅÏ¢µÄÑéÖ¤£¬±ÈÈçÑéÖ¤Óû§ÊäÈëµÄÊÇ·ñÊÇÊý×Ö¡£
Ï£Íû½«HTML´úÂëÒ»²¢Ð´³öÀ´¹þ£¬Ð»Ð»¡£
HTML code:

<!DOCTYPE html PUBLIC &quo ......

javascript ½Å±¾³ö´í

ÔÚ¸üÐÂÃæ°åÀï×¢²áÁËÒ»¸öJavaScript½Å±¾£¨½Å±¾µÄ×÷Ó㺹ö¶¯ÏÔʾÎÄ×Ö£©£¬ÔÚ³ÌÐòÁ¬ÐøÅÜ30·ÖÖÓÒԺ󣬵¯³öÒ»¸ö´íÎóÌáʾ¿ò£¬´íÎó£ºÎ´Ö¸Ã÷µÄ´íÎó ״̬Âð£º0£¬ÆÚ´ý¸ßÊÖºÍÎÒÒ»Æð½â¾ö¡£
ÏȰﶥ¡£¡£¡£´úÂëÄØ£¿

×Ô¼ºÒ²¶¥Ï¡£ ......

JavaScriptÈçºÎÏìÓ¦ActivX¿Ø¼þµÄʼþ

ÎÒµÄÍøÒ³ÉÏ·ÅÖÃÁËÒ»¸öActiveX¿Ø¼þ£¬¿Ø¼þÃûΪNVSViewerCtrlEx£¬clsid:9D78E092-86F1-487E-91DA-6D7D44ED985A£¬¿Ø¼þʼþ֪ͨ£¨µ±Êó±êÑ¡Öд°¿Úʱ´¥·¢£¬OnSelectedView(long lView)£¬ÆäÖÐlView£º´Ó0¿ªÊ¼µÄÐòÊý£©;Õâ¸ö¿Ø¼ ......

ÓÖÒ»¸öjquery´úÂëתJavaScript£¡

$("p:first").before(" <center> <button id=\"button1\" onClick=\"cut()\">¼ôÇÐ </button> <button id=\"button2\">¸´ÖÆ <\/button> ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ