javascript ÈçºÎ»ñÈ¡Êý×鳤¶È£¿
<span id="a_1"></span><br/>
<span id="a_2"></span><br/>
<span id="a_3"></span><br/>
...
<span id="a_4"></span><br/>
<span id="b_5"></span><br/>
<span id="b_6"></span><br/>
...
<span id="a_100"></span><br/>
<span id="b_100"></span><br/>
...
ÈçºÎ»ñÈ¡ÓжàÉÙ¸öidΪa_xxxµÄspan°¡£¡
document.getElementsByTagName("span")
Ðֵܣ¬ÄãÄǵõ½µÄÊÇËùÓеÄspanÊýÄ¿£¡µ¹£¡
µ±È»Äã¿ÉÒÔΪÄãÒªµÄspanÈ¡¸öÃû×Ö£¬Èçspantest,È»ºóʹÓÃdocument.getElementsByName("spantest")
spanÔÚIEÏÂûÓÐnameÊôÐÔ£¡
Â¥Ö÷£ºÊ×ÏÈ Ò»¸öÒ³Ãæ ÏàͬµÄIDΪΨһ
Òò´Ë£º È¡²»µ½ idΪa_xxx µÄ span
µ½µ×ÓжàÉÙ¸ö£¿£¿
ÓÃÕý²á±í´ïʽÊÔÊÔ°É
$("span[id^='a_']")
Õâ¸ö¾ÍÐУ¡
Ïà¹ØÎÊ´ð£º
ÕâÊÇÎÒµÄÎı¾¿ò
<input type="text" size="60" name="password_answer" id="pwdanswer" value="$!password_answer" >
Ìá½»°´Å¥
<input clas ......
ÓÃjavascript¼ÓÔØÒ³ÃæʱָÏòÒ»¸öÃèµã¡£ÒÑÖªÈçºÎͨ¹ýÁ´½Ó×ö³ÉÃèµãµÄ£¬¿ÉÊÇÏëÈÃÒ³Ãæ¼ÓÔØʱֱ½ÓÖ¸Ïò²»ÐèÒªµã»÷Á´½Ó¡£
1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" &quo ......
ÎÒÏëÎÊÒ»ÏÂÈçºÎÓÃjavascript¶¯Ì¬ÊµÏÖÏñÎÒÃÇÕâ¸öÍøÕ¾×ó±ßµÄĿ¼£¬Ð»À²£¡
??
ºÇºÇ£¡Ð»Ð»°¡£¡
¶¥Ò»ÏÂ
ÄãÃÇÊÇʲôÍøÕ¾°¡£¬ÒªÊǺǫ́ÊÇjavaÖ±½Ójsp£¬Èç¹ûºǫ́ÊÇc£¬ÄǾÍÓÃcgiÉú³Éxml£¬js¶¯Ì¬È¥¶ÁxmlµÄÊý¾Ý
Ó ......
²úÆ·µÄÅäÖÃÒ³Ãæ¹²ÓÃÒ»¸öÓÃJavaScriptµÄdTreeʵÏÖµÄÊ÷Ðνṹ£¬ÏÔʾµÄʱºò£¬Ê÷Ðνṹ¿¿ÔÚÒ³ÃæµÄ×î×ó±ß£¬¸úÎÒµÄÅäÖÃÒ³ÃæÖмä¸ôÁËÒ»´ó¿é£¬ÏÖÔÚÏë°ÑÊ÷ÐÎĿ¼¾ÓÖУ¬½ô¿¿ÔÚÅäÖÃÄÚÈÝÅԱߣ¬ÈçºÎ¿ØÖÆÊ÷ÐÎĿ¼µÄλÖã¬ÒÔ¼°¿É²»¿ ......
±¾ÈºÊÇÒ»¸öjavascript³õѧÕßȺ£¬»¹¿ÉÒÔÔÙ½ø20¸öÃû¶î¡£QQȺ£º100172168
ÎÒ¼ÓÄã ÎÒÒ²ÊÇÐÂÊÖÔÛÃǹ²Í¬Ñ§Ï°£¡
°Ù¶ÈHi¼¼Êõ½»Á÷Ⱥ£¬Òª½øµÄ£¡µã»÷ÏÂÃæÁ´½Ó½ÓÊÜÑûÇ룺
http://im.baidu.com/ginvite/gi/url_confirm.php?i ......