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

javascript ÈçºÎÔÚ±¾µØ´´½¨¶ÁдxmlÎļþ£¿

ÐèÒª¼æÈÝie firefox safari µÈä¯ÀÀÆ÷
IE ¿ÉÒÔÓÃFSO µ«ÊÇÔÚÆäËûä¯ÀÀÆ÷²»ÄÜÓÃ
Ò»°ãµÄä¯ÀÀÆ÷´¦ÓÚ°²È«¿¼ÂǶ¼²»ÔÊÐíJavaScript¶Áд±¾µØÎļþµÄ°É

XMLÎĵµÄÚÈÝÈçÏ£¨user.xml£©£º
<?xml version="1.0" encoding="gbk"?>
<items>
<item sex="male" age="23"  job="developer" />
<item sex="male" age="30"  job="manager" />
<item sex="male" age="22"  job="test" />
<item sex="male" age="40"  job="boss" />
</items>

¶ÁÈ¡²Ù×÷ÈçÏÂ:
<html>
<head>
<title>users </title>
</head>
<body>
<table border="1" align="center">
<tbody >
<tr> <td>ID </td> <td>ÐÕÃû </td> <td>ÐÔ±ð </td> <td>ÄêÁä </td> <td>ְλ </td> </tr>

<tbody>

</table>

<script language="javascript">

//´´½¨xml dom¶ÔÏó,¶ÁÈ¡xmlÎļþ
doc = new ActiveXObject("MSXML2.DOMDocument.3.0");
doc.load("users.xml");

//×ÓÔªËØ
var items = doc.documentElement.childNodes;
var oTbody = document.all.tbody;

/


Ïà¹ØÎÊ´ð£º

javaScriptÐüÍ£¿Ø¼þÉϵĸ¡¶¯²ã¶¨Î»

ÈçºÎʵÏÖµ±Êó±êÐüÍ£¿Ø¼þÉÏʱ£¬³öÏָÿؼþµÄβ²¿ÏÔʾ¶ÔÓ¦µÄ²ã£¬Êó±êÒÆ¶¯µ½¸Ã²ãÉϽøÐÐÏàÓ¦µÄ²Ù×÷£¬µ±Êó±êÒÆ³ýʱ£¨²»ÔڿؼþÉÏÒ²²»ÔÚ²ãÉÏ£©²ãÒþ²Ø£¬
HTML code:
<html>
<head>
<meta http-equiv= ......

ΪºÎjspÊä³öµÄxml²»ÄÜÕý³£µ÷Óã¿£¿

ÎÒÓиöflash Êý¾Ýд³ÉÁË xmlÐÎËÆ...

ÏÖÔÚflashÈ´¶ÁÈ¡²»ÁË ¶¯Ì¬Éú³ÉµÄxml...ÐÎÈ磺x.jsp?id=6 £¿£¿£¿

½«¶¯Ì¬Éú³ÉµÄxmlÁí´æÎª x.xml ºó flash±ã¿ÉÕý³£¶ÁÈ¡ ÇëÎÊÕâÊÇʲôԭÒò£¿£¿£¿

¹Ø×¢

²»¶®°ï¶ ......

ÔõôÓÃjavascript¿ØÖÆgridviewÀïµÄRadioButton

ÔõôÓÃjavascript¿ØÖÆgridviewÀïµÄRadioButton
¶Ô gridview  findcontrol ,ÕÒ³öRadioButton£¬
È»ºó£¬¶ÔRadioButton £¬µÄAttribute Ôö¼Ó JS¾Í¿ÉÒÔÁË¡£


C# code:
for (int i = 0; i < gd ......

·þÎñÆ÷JavaScriptʧЧÁË£¬ÇëÎÊÈçºÎ½â¾ö°¡

ÔÚ±ðµÄ»úÆ÷Éϵ÷ÊÔ¾ÍûÓÐÎÊÌ⣬·Åµ½·þÎñÆ÷ÉϾÍʧЧÁË£¬ÄǸöµ¼º½ÊÇÓõÄmenu¿Ø¼þ£¬Ã»ÓÐÊÖд´úÂë¡£ÓÃvs05дµÄ



ûÓÐÈËÓöµ½¹ýÂð£¿

ä¯ÀÀÆ÷ÊÇ·ñÒ»Ñù£¿ÓÐû½ûÓÃjavascript?

javascriptÔËÐÐÔÚ¿Í»§¶ËµÄ¡£ ......

javascript ÕÒ²»µ½´íÎó

<script type="text/javascript">
    function IsValidate()
    {
        var flag=false;
        var cellPartN ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ