锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产成人亚洲综合无码,亚洲精品成a人在线观看,国产精品国产亚洲区艳妇糸列短篇 http://m.tkk7.com/louieling/category/19068.html瀛︿細鍋氫漢zh-cnFri, 09 Mar 2007 21:26:35 GMTFri, 09 Mar 2007 21:26:35 GMT60prototype.js瀛︿範(fàn){ ($A() $H() $R() }(浜?http://m.tkk7.com/louieling/archive/2007/01/10/92831.html璺槗璺槗Wed, 10 Jan 2007 02:29:00 GMThttp://m.tkk7.com/louieling/archive/2007/01/10/92831.htmlhttp://m.tkk7.com/louieling/comments/92831.htmlhttp://m.tkk7.com/louieling/archive/2007/01/10/92831.html#Feedback0http://m.tkk7.com/louieling/comments/commentRss/92831.htmlhttp://m.tkk7.com/louieling/services/trackbacks/92831.html浠婂ぉ瀛︿範(fàn)鐨勬槸3涓柟娉曪細$A() $H() $R()

< HTML >
< HEAD >
聽聽
< script聽 src ="prototype.js" ></ script >
聽聽
< script >
聽聽
function 聽showOptions()
聽聽{
聽聽聽聽
var 聽someNodeList聽 = 聽$('lstEmployee').getElementsByTagName('option');
聽聽聽聽
// 棣栧厛閫氳繃$()鏂規(guī)硶寰楀埌select鍏冪礌錛岀劧鍚庨氳繃getElementsByTagName寰楀埌鍏冪礌閲岄潰鐨勫瓙鍏冪礌錛堝氨榪欎箞瑙i噴鍚э紝鍙嶆緇欒嚜宸辯湅錛?/span>
聽聽聽聽 var 聽nodes聽 = 聽$A(someNodeList);
聽聽聽聽
// $A()鍑芥暟鑳芥妸瀹冩帴鏀跺埌鐨勫崟涓殑鍙傛暟杞崲鎴愪竴涓狝rray瀵硅薄
聽聽聽聽 // 榪欎釜鏂規(guī)硶錛岀粨鍚堣鏈被搴撴墿灞曚簡鐨凙rray綾伙紝鑳芥柟渚跨殑鎶婁換浣曞彲鏋氫婦鍒楄〃杞崲鎴愭垨鎷瘋礉鍒頒竴涓狝rray瀵硅薄銆備竴涓帹鑽愮殑鏂規(guī)硶灝辨槸鎶奃OM聽Node聽Lists杞崲鎴愪竴涓櫘閫氱殑Array瀵硅薄錛屼粠鑰屾洿鏈夋晥鐜囩殑榪涜閬嶅巻
聽聽聽聽nodes.each( function (node){ // 閬嶅巻
聽聽聽聽聽聽聽聽alert(node.nodeName聽 + 聽':'聽 + 聽node.innerHTML);
聽聽聽聽});
聽聽}

function 聽testHash()
聽{
聽聽聽聽
// create聽the聽object
聽聽聽聽 var 聽a聽 = {first: 20 ,second: 20 ,third: 30 };
聽聽聽聽
var 聽h聽 = 聽$H(a); // $H()鍑芥暟鎶婁竴浜涘璞¤漿鎹㈡垚涓涓彲浠ユ灇涓劇殑鍜岃仈鍚堟暟緇勭被浼肩殑Hash瀵硅薄
聽聽聽聽alert(h.toQueryString()); // 杈撳嚭first:20&second:20&third:30
聽}

function 聽demoDollar_R()
聽{
聽聽聽聽
// $R()鍑芥暟鏄痭ew聽ObjectRange(lowBound,upperBound,excludeBounds)鐨勭緝鍐?/span>
聽聽聽聽 var 聽range聽 = 聽$R( 10 , 20 , false ); // 榪欓噷鐨勫弬鏁癴alse/true浠h〃浜嗘槸鍚︽樉紺轟笂闄愶紙涔熷氨鏄繖閲岀殑20錛宖alse鏄樉紺猴級
聽聽聽聽range.each( function (value,index){
聽聽聽聽聽聽聽聽alert(value);
聽聽聽聽});
聽聽聽聽
// 鏂規(guī)硶鏃犻潪灝辨槸渚濇鐨勫湪寮瑰嚭瀵硅瘽妗嗕腑杈撳嚭10錛?1錛?2錛?3錛?4錛?5錛?6錛?7錛?8錛?9錛?0
聽}
聽聽
</ script >
</ HEAD >

< BODY >
聽聽聽
< select聽 id ="lstEmployee" 聽size ="10" >
聽聽
< option聽 value ="5" > Buchanan,Steven </ option > / <!-- 聽榪欓噷鐨刼ption瀛愬厓绱犲皢浼氳鏂規(guī)硶showOptions錛堬級閬嶅巻杈撳嚭聽 -->
聽聽
< option聽 value ="8" > Callahan,Laura </ option >
聽聽
< option聽 value ="1" > Davolio,Nancy </ option >
</ select >< br >
< input聽 type聽 ="button" 聽value ="show聽the聽options" 聽onclick ="showOptions();" > 嫻嬭瘯$A()鍑芥暟
< br >
鏁扮粍涓殑鍊兼槸錛毬犅犅爁irst:20,second:20,third:30
< br >
< input聽 type聽 ="button" 聽value ="TestHash" 聽onclick ="testHash();" > 嫻嬭瘯$H()鍑芥暟
< br >
< input聽 type聽 ="button" 聽value ="Sample聽Count" 聽onclick ="demoDollar_R();" > 嫻嬭瘯$R()鍑芥暟
</ BODY >
</ HTML >


璺槗 2007-01-10 10:29 鍙戣〃璇勮
]]>
prototype.js瀛︿範(fàn)絎竴璇?/title><link>http://m.tkk7.com/louieling/archive/2007/01/09/92649.html</link><dc:creator>璺槗</dc:creator><author>璺槗</author><pubDate>Tue, 09 Jan 2007 08:55:00 GMT</pubDate><guid>http://m.tkk7.com/louieling/archive/2007/01/09/92649.html</guid><wfw:comment>http://m.tkk7.com/louieling/comments/92649.html</wfw:comment><comments>http://m.tkk7.com/louieling/archive/2007/01/09/92649.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/louieling/comments/commentRss/92649.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/louieling/services/trackbacks/92649.html</trackback:ping><description><![CDATA[ <p>聽</p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">html</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">head</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">title</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000">Test聽Page</span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">title</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">script聽</span> <span style="COLOR: #ff0000">src</span> <span style="COLOR: #0000ff">="prototype.js"</span> <span style="COLOR: #0000ff">></</span> <span style="COLOR: #800000">script</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">script</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> <br /> </span> <span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">function</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽test1()<br />{<br />聽聽聽聽</span> <span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">var</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽d聽</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽$('myDiv');<br />聽聽聽聽</span> <span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">//</span> <span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">$()綾諱技浜嶥OM涓殑document銆俫etElementById錛堬級鏂規(guī)硶錛屾牴鎹紶鍏ョ殑鍙傛暟ID榪斿洖閭d釜ID鐨勫厓绱?/span> <span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5"> <br /> </span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽聽聽聽alert(d.innerHTML);<br />}<br /></span> <span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">function</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽test2()<br />{<br />聽聽聽聽</span> <span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">var</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽divs聽</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽$('myDiv','myOtherDiv');<br />聽聽聽聽</span> <span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">for</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">(i</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">0</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">;i</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"><</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">divs.length;i</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">++</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">)<br />聽聽聽聽{<br />聽聽聽聽聽聽聽聽alert(divs[i].innerHTML);</span> <span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">//</span> <span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">灝嗘湁i涓脊鍑哄璇濇</span> <span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5"> <br /> </span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽聽聽聽}<br />}<br /></span> <span style="COLOR: #0000ff; BACKGROUND-COLOR: #f5f5f5">function</span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">聽test3()<br />{<br />聽聽聽聽alert(聽$F('test3')聽);</span> <span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">//</span> <span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5">$F()聽鏍規(guī)嵁緗戦〉涓厓绱犵殑ID鏉ュ緱鍒拌鍏冪礌鐨勫鹼紝涔熷彲浠ヤ紶鍏ュ厓绱犳湰韜綔涓哄弬鏁?/span> <span style="COLOR: #008000; BACKGROUND-COLOR: #f5f5f5"> <br /> </span> <span style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">}<br /></span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">script</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">head</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">body</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">div聽</span> <span style="COLOR: #ff0000">id聽</span> <span style="COLOR: #0000ff">=聽"myDiv"</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">P</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000">this聽is聽a聽paragraph</span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">p</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">div</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">div聽</span> <span style="COLOR: #ff0000">id聽</span> <span style="COLOR: #0000ff">="myOtherDiv"</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">p</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000">聽this聽is聽another聽paragraph</span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">p</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">div</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">input聽</span> <span style="COLOR: #ff0000">type</span> <span style="COLOR: #0000ff">="button"</span> <span style="COLOR: #ff0000">聽value</span> <span style="COLOR: #0000ff">="Test1"</span> <span style="COLOR: #ff0000">聽onclick</span> <span style="COLOR: #0000ff">="test1();"</span> <span style="COLOR: #0000ff">><</span> <span style="COLOR: #800000">br</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">input聽</span> <span style="COLOR: #ff0000">type聽</span> <span style="COLOR: #0000ff">=聽"button"</span> <span style="COLOR: #ff0000">聽value</span> <span style="COLOR: #0000ff">="Test2"</span> <span style="COLOR: #ff0000">聽onclick</span> <span style="COLOR: #0000ff">="test2();"</span> <span style="COLOR: #0000ff">><</span> <span style="COLOR: #800000">br</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">input聽</span> <span style="COLOR: #ff0000">type</span> <span style="COLOR: #0000ff">="text"</span> <span style="COLOR: #ff0000">聽value聽</span> <span style="COLOR: #0000ff">=聽"louie"</span> <span style="COLOR: #ff0000">聽id聽</span> <span style="COLOR: #0000ff">=聽"test3"</span> <span style="COLOR: #0000ff">><</span> <span style="COLOR: #800000">br</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"><</span> <span style="COLOR: #800000">input聽</span> <span style="COLOR: #ff0000">type聽</span> <span style="COLOR: #0000ff">=聽"button"</span> <span style="COLOR: #ff0000">聽value</span> <span style="COLOR: #0000ff">="Test3"</span> <span style="COLOR: #ff0000">聽onclick</span> <span style="COLOR: #0000ff">="test3();"</span> <span style="COLOR: #0000ff">><</span> <span style="COLOR: #800000">br</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">body</span> <span style="COLOR: #0000ff">></span> <span style="COLOR: #000000"> <br /> </span> <span style="COLOR: #0000ff"></</span> <span style="COLOR: #800000">html</span> <span style="COLOR: #0000ff">></span> </div> <img src ="http://m.tkk7.com/louieling/aggbug/92649.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/louieling/" target="_blank">璺槗</a> 2007-01-09 16:55 <a href="http://m.tkk7.com/louieling/archive/2007/01/09/92649.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://m.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://www-840012.com" target="_blank">一级一级毛片免费播放</a>| <a href="http://baicaijia666.com" target="_blank">亚洲中文字幕日本无线码</a>| <a href="http://591se591se.com" target="_blank">看亚洲a级一级毛片</a>| <a href="http://www-79983.com" target="_blank">国产在线观看片a免费观看</a>| <a href="http://ti166.com" target="_blank">亚洲天堂一区二区三区四区</a>| <a href="http://njjngs.com" target="_blank">国产a视频精品免费观看</a>| <a href="http://zisewang.com" target="_blank">国产精品视频免费</a>| <a href="http://xxzyyj.com" target="_blank">亚洲av麻豆aⅴ无码电影</a>| <a href="http://c2277.com" target="_blank">亚洲AV成人片色在线观看</a>| <a href="http://97aimeili.com" target="_blank">a成人毛片免费观看</a>| <a href="http://s88s88.com" target="_blank">免费大片黄在线观看yw</a>| <a href="http://www454yu.com" target="_blank">亚洲日本视频在线观看</a>| <a href="http://nzzys.com" target="_blank">一本无码人妻在中文字幕免费</a>| <a href="http://wwwav888.com" target="_blank">色偷偷女男人的天堂亚洲网 </a>| <a href="http://sy8989.com" target="_blank">亚洲深深色噜噜狠狠网站</a>| <a href="http://tpwelert.com" target="_blank">视频免费1区二区三区</a>| <a href="http://zgjzysfc.com" target="_blank">亚洲国产人成精品</a>| <a href="http://www52a.com" target="_blank">a级午夜毛片免费一区二区</a>| <a href="http://928288.com" target="_blank">亚洲日本在线看片</a>| <a href="http://0730jxpm.com" target="_blank">日韩国产免费一区二区三区</a>| <a href="http://conghui8.com" target="_blank">亚洲国产精品网站在线播放</a>| <a href="http://9xcb.com" target="_blank">亚洲福利精品电影在线观看</a>| <a href="http://cc88899.com" target="_blank">亚洲欧洲日韩国产</a>| <a href="http://4388x4.com" target="_blank">日韩成全视频观看免费观看高清</a>| <a href="http://phlinhng.com" target="_blank">偷自拍亚洲视频在线观看99</a>| <a href="http://91ggan.com" target="_blank">亚洲日韩国产精品第一页一区</a>| <a href="http://zhaosifuwang.com" target="_blank">99视频在线看观免费</a>| <a href="http://hbjpxnyqckj.com" target="_blank">亚洲综合色成在线播放</a>| <a href="http://831055.com" target="_blank">亚洲 日韩经典 中文字幕</a>| <a href="http://qq-gm.com" target="_blank">国产jizzjizz免费视频</a>| <a href="http://pppmmmm.com" target="_blank">久久夜色精品国产噜噜亚洲a</a>| <a href="http://shunfk.com" target="_blank">国产免费黄色大片</a>| <a href="http://k8h9.com" target="_blank">中国人免费观看高清在线观看二区</a>| <a href="http://tom-erc20.com" target="_blank">亚洲国产国产综合一区首页</a>| <a href="http://15nw.com" target="_blank">成年女人免费视频播放77777</a>| <a href="http://hnqkzj.com" target="_blank">人妻无码中文字幕免费视频蜜桃</a>| <a href="http://bjymt.com" target="_blank">成人人观看的免费毛片</a>| <a href="http://dxj588.com" target="_blank">78成人精品电影在线播放日韩精品电影一区亚洲 </a>| <a href="http://www-175345.com" target="_blank">免费夜色污私人影院网站</a>| <a href="http://6789311.com" target="_blank">亚洲va无码手机在线电影</a>| <a href="http://002309.com" target="_blank">特级毛片爽www免费版</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>