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

JavaScript²Ù×÷·þÎñÆ÷¿Ø¼þÖ®Gridview¿Ø¼þ

JavaScript²Ù×÷·þÎñÆ÷¿Ø¼þÖ®Gridview¿Ø¼þ
1.JavaScript½Å±¾ÈçÏ£º
<script language="javascript" type="text/javascript">
    function gridviewControl()
    {
        //»ñÈ¡GridViewµÄ¿Í»§¶ËÔªËØ
        var table=document.getElementById("GridView1");
        //»ñÈ¡µÚ5ÁУ¨Test_Column£¬´Ó0¿ªÊ¼£©µÄÁбêÌâ
        var title = table.getElementsByTagName("th")[5].innerText;
        //Ñ­»··ÃÎʵÚTest_ColumnÖеĿؼþ
        for(var i=1;i<table.rows.length;i++)
        {
          //»ñÈ¡µÚÒ»¸öTextBox
          var txt1 = table.rows[i].cells[5].getElementsByTagName("INPUT")[0];
          //»ñÈ¡µÚ¶þ¸öTextBox
          var txt2 = table.rows[i].cells[5].getElementsByTagName("INPUT")[1];
          //»ñÈ¡ CheckBox
          var chkItem = table.rows[i].cells[5].getElementsByTagName("input")[2];
          //»ñÈ¡µÚÒ»¸öDropDownList
          var ddlItem = table.rows[i].cells[5].getElementsByTagName("select")[0];
          //»ñÈ¡µÚ¶þ¸öDropDwonList
          var ddlItem2 = table.rows[i].cells[5].getElementsByTagName("select")[1];         
         
          //²âÊÔ½á¹û
        


Ïà¹ØÎĵµ£º

JavaScriptѧϰ——ʼþ

     ÕâÁ½ÌìÉÏÎçÒ»Ö±ÔÚѧϰJavaScript£¬ÓÉÓÚ×ÜÊÇÔÚ¿´£¬Ð§¹û²»ÊǺܴó£¬Ò²ºÃ¾ÃûÓз¢±íÎÄÕÂÁË£¬ËùÒÔΪÁ˸üºÃµÄѧϰ£¬°Ñѧµ½µÄ¶«Î÷¼Ç¼ÏÂÀ´¡£ÎÒѧϰJavaScriptµÄÊéÊÇ¡¶¾«Í¨JavaScript+jQuery¡·£¬Èç¹û´ó¼ÒÓиüºÃµÄÊéÇëÍƼö¡£
Ò». ʼþµÄ¸ÅÄî
     C#ÖÐʼþµÄ¶¨Ò壺ʼþÀàËÆÓÚÒì³££¬Ë ......

JSL (JavaScript Loader)

Do you want an ultra fast web site? Get JSL and optimize your JavaScript loading now!
Imagine there's a 4-lane highway between your web browser and the internet itself. This highway is optimize to let pictures, text, and css fly by. But, when it comes to external scripts, the highway crea ......

JavascriptʵÀý£ºSelectµÄOnChange()ʼþ

JavascriptʵÀý£ºSelectµÄOnChange()ʼþ
      ÎÒÃÇÓÃSelectµÄonchangeʼþʱ,³£»áÓöµ½ÕâÑùÒ»¸öÎÊÌâ,ÄǾÍÊÇÁ¬ÐøÑ¡ÏàͬһÏîʱ,²»´¥·¢onchangeʼþ.ÄãµÃÓÐChange(¸Ä±ä),²ÅÄÜ´¥·¢¸Ãʼþ
<select name=sel onchange="bao(this.options[this.options.selectedIndex].value)">
<option va ......

JavaScript——Îò͸JavaScript

    ×î½üÕâ¶Îʱ¼äÒ»Ö±ÔÚ¸ãÇ°¶ËJavaScript£¬ÒÔÇ°×ܾõµÃJSûʲô¸ãÍ·£¬¾­¹ýÕâÒ»¶ÎµÄÓ¦Ó㬲ŷ¢ÏÖJsÀïÃæµÄ¶«Î÷ÕæµÄºÜÉîºÜÉîµÄ£¬²»È»ÎªÊ²Ã´¸÷´óÃÅ»§ÍøÕ¾¶¼ÕÐÒ»ÅúJS¹¤³ÌʦÄØ¡£
     ÒÔÏÂÎÄÕÂΪÒýÓÃÀîÕ½ÀϸçµÄ¡¶Îò͸JavaScript¡·Ò»ÎÄ£¬Ð´µÄʵÔÚÌ«ºÃÁË£¬¾ÍÊÕ¼ÁË£¬ÒÔ×ö¸ö±¸Óá£
Òý×Ó
& ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ