htmlÍøÒ³ÖÐʹÓÃjavascript½Å±¾µ÷ÓÃxmlÎĵµÊµÀý
±¾Ê¾ÀýÊÇҪʵÏÖÓÃjavascript½Å±¾¶ÁÈ¡xmlÎĵµ£¬ÔÚxmlÎĵµÖÐʵÏÖÔ¼Êø¹¦ÄÜ£¬test.htmlÎļþ´úÂëÈçÏ£º
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<script type="text/javascript">
var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); //´´½¨xmlÎĵµ¶ÔÏó£»
xmlDoc.validateOnParse="true"; //¿ªÆôУÑ鹦ÄÜ£»
xmlDoc.async="false";
xmlDoc.load("product.xml"); //×°ÔØxmlÎĵµ
var reason = xmlDoc.parseError.reason; //»ñÈ¡´íÎóÔÒò
var line = xmlDoc.parseError.line; //»ñÈ¡´íÎóÐкÅ
document.write("´íÎóÔÒò" + reason + "<br/>" + "´íÎóÐ
Ïà¹ØÎĵµ£º
1¡¢¡¼´ò¿ª¡½ÃüÁîµÄʵÏÖ
[¸ñʽ]:document.execCommand("open")
[˵Ã÷]Õâ¸úVBµÈ±à³ÌÉè¼ÆÖеÄwebbrowser¿Ø¼þÖеÄÃüÁîÓÐЩÏàËÆ£¬´ó¼ÒÒ²¿ÉÒÀ´Ë×ÁÄ¥×ÁÄ¥¡£
[¾ÙÀý]ÔÚ<body></body>Ö®¼ä¼ÓÈ룺
<a href="###" onclick=document.execCommand("open")>´ò¿ª</a>
2¡¢¡¼Ê¹Óà ¼Çʱ¾ ±à¼¡½ÃüÁîµÄʵÏÖ
......
£¨×¢£ºÒÔϹ¤¾ßµÄ½éÉÜת×ÔJAVAEYE 2Ô¿¯£©
¡¡¡¡½ñÌìÔÚJavaEye 2Ô¿¯ÉÏ¿´µ½Õâƪ×ܽáJavaScriptµÄÎÄÕ£¬¾õµÃдµÄºÜºÃ£¬ÏÖ°ÑÕâЩ¹¤¾ßµÄ½éÉÜתÔعýÀ´×ö¹ý±£´æ£¬ÒÔºóÓõ½µÄ»°Ò²¿ÉÒÔ²éѯ²éѯ:-P
¡¡¡¡ÔÚAJAXÁ÷ÐеĽñÌìºÜ´ó³Ì¶ÈÉϹ鹦ÓÚJavaScript£¬Èç¹ûûÓÐJS£¬ÏàÐÅAJAXÒ²ÎÞ´Ó̸Æð¡£JavaScriptÊÇÒ»¸ö¹¦ÄÜÇ¿´óµÄ¿Í»§¶Ë½Å±¾ÓïÑÔ£¬Ë ......
Ò»¡¢ÑéÖ¤Àà
1¡¢Êý×ÖÑéÖ¤ÄÚ
1.1 ÕûÊý
1.2 ´óÓÚ0µÄÕûÊý £¨ÓÃÓÚ´«À´µÄIDµÄÑéÖ¤)
1.3 ¸ºÕûÊýµÄÑéÖ¤
1.4 ÕûÊý²»ÄÜ´óÓÚiMax
1.5 ÕûÊý²»ÄÜСÓÚiMin
2¡¢Ê±¼äÀà
2.1 ¶Ìʱ¼ä£¬ÐÎÈç (13:04:06)
2.2 ¶ÌÈÕÆÚ£¬ÐÎÈç (2003-12-05)
2.3 ³¤Ê±¼ä£¬ÐÎÈç (2003-12-05 13:04:06)
2.4 Ö»ÓÐÄêºÍÔ¡£ÐÎÈç(2003-05,»òÕß2003-5)
2.5 ......
ÎÒÃÇÀ´Ä£·ÂÒ»ÏÂ×îOOµÄmootoolsµÄ¼Ì³Ð»úÖÆ¡£ËüµÄÀ඼ÓÐÒ»¸ö½Ð×öinitialize¹¹Ôì·½·¨£¬ÕâÓëJavaµÄÀ඼ÓÐÒ»¸öÓëÀàÃûͬÃûµÄ¹¹Ôì·½·¨Ò»ÑùµÄµÀÀí¡£Ö»²»¹ý£¬ÕâЩ½Ðinitialize»òinit¶¼Êǽè¼ø×ÔPrototype£¬¶øPrototypeÄÇ°ïÈËÊÇRuby³öÉí¡£ÎªÁËÇø±ðmootoolsÄÇÖÖÎÛȾÔÉú·½·¨µÄ×ö·¨£¬ÎÒ°ÑÀàµÄ¹¹ÔìÆ÷ÃüÃûΪvariant£¬²¢ÇÒ½ûÖ¹²é¿´¹¹Ô ......