ÓÃ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
Ïà¹ØÎÊ´ð£º
±ÈÈçÓÐÒ»¸ötextbox£¬Óû§ÊäÈëºóµãbutton°´Å¥Ê±£¬ÊµÏÖÓÃJavaScript¶ÔtextboxÊäÈëÐÅÏ¢µÄÑéÖ¤£¬±ÈÈçÑéÖ¤Óû§ÊäÈëµÄÊÇ·ñÊÇÊý×Ö¡£ Ï£Íû½«HTML´úÂëÒ»²¢Ð´³öÀ´¹þ£¬Ð»Ð»¡£ HTML code: <!DOCTYPE html PUBLIC &quo ......
ÔÚ¸üÐÂÃæ°åÀï×¢²áÁËÒ»¸öJavaScript½Å±¾£¨½Å±¾µÄ×÷Ó㺹ö¶¯ÏÔʾÎÄ×Ö£©£¬ÔÚ³ÌÐòÁ¬ÐøÅÜ30·ÖÖÓÒԺ󣬵¯³öÒ»¸ö´íÎóÌáʾ¿ò£¬´íÎó£ºÎ´Ö¸Ã÷µÄ´íÎó ״̬Âð£º0£¬ÆÚ´ý¸ßÊÖºÍÎÒÒ»Æð½â¾ö¡£ ÏȰﶥ¡£¡£¡£´úÂëÄØ£¿ ×Ô¼ºÒ²¶¥Ï¡£ ......
ÎÒµÄÍøÒ³ÉÏ·ÅÖÃÁËÒ»¸öActiveX¿Ø¼þ£¬¿Ø¼þÃûΪNVSViewerCtrlEx£¬clsid:9D78E092-86F1-487E-91DA-6D7D44ED985A£¬¿Ø¼þʼþ֪ͨ£¨µ±Êó±êÑ¡Öд°¿Úʱ´¥·¢£¬OnSelectedView(long lView)£¬ÆäÖÐlView£º´Ó0¿ªÊ¼µÄÐòÊý£©;Õâ¸ö¿Ø¼ ......
$("p:first").before(" <center> <button id=\"button1\" onClick=\"cut()\">¼ôÇÐ </button> <button id=\"button2\">¸´ÖÆ <\/button> ......