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

javascript ʵÏÖÊý¾Ý±í¸ñÏÔʾµÄÕ¹¿ªÓëÕÛµþ

<script   language="javascript">  
  function   ShowTableRow(id)
 
  { 
  var _Row = document.getElementById(id)   <!-- »ñÈ¡IDΪTableRowID µÄ¶ÔÏó -->
  var _Img = document.getElementById("Img"+id)
 
  <!--alert(_Img)-->
 
  if(_Row.style.display=="none")  
     {
       _Row.style.display="";  
       _Img.src="arrowUP.gif";
     }
  else  
     {
       _Row.style.display="none";  
       _Img.src="arrowDOWN.gif";
     }
  }  
 
  </script>  
*******************************
asp/jsp Ò³Ãæ: ÉèÖöÔÏóµÄ ID
.......................
       <td width="14%" bgcolor="#ecfaff" ><div align="center"><img src="arrowDOWN.gif" id="Img<%=num%>" onClick="ShowTableRow(<%=num%>)"></div></td>
     <td width="12%" bgcolor="#ecfaff" class="style11"></td>
 
 </tr>
   
   
<!------ Õ¹¿ª/ÕÛµþ***** ÐÐ-- ³ö³§Á÷Ïò -->
   
    <tr class="style11" bgcolor="#66CC99">
    <td  colspan="7">
        <div id=<%=num%>  style="display:none" >
     <table width="73%" border="0" align="center" cellpadding="0" cellspacing="1" >
     
     <%
   '-- ¸ù¾ÝRS1½á¹û£¬¶¯Ì¬»­±í¸ñ
  sql1="SELECT ORG_CODE,ORG_NAME, count(*) as OUTNUM1 from  "
  sql1=sql1+" ciginfo where substring(barcode,3,6)='"+ppdm+"' and


Ïà¹ØÎĵµ£º

javascript³õѧÕß:È«ÃæÑ§Ï°¶ÔÏó¸ÅÄî

javascript³õѧÕß
——È«ÃæÑ§Ï°¶ÔÏó¸ÅÄî
±¾ÎĽéÉÜÁ˼¸ºõËùÓйØÓÚ¶ÔÏóµÄ»ù±¾¸ÅÄʲôÊǶÔÏó£¬ÈçºÎ´´½¨¶ÔÏ󣬶ÔÏóµÄÊôÐÔµÄÉèÖúͶÁÈ¡£¬É¾³ýÊôÐԵķ½·¨£¬¹¹Ô캯Êý£¬¶ÔÏóÔ­ÐÍ£¬¸¸À࣬×ÓÀ࣬¼Ì³ÐµÈµÈ¡£
1.¶ÔÏó
* ¶ÔÏóÊÇÒ»ÖÖ¸´ºÏÊý¾ÝÀàÐÍ£¬ËüÃǽ«¶à¸öÊý¾ÝÖµ¼¯ÖÐÔÚÒ»¸öµ¥ÔªÖУ¬¶øÇÒÔËÐÐʹÓÃÃû×ÖÀ´´æÈ¡ÕâЩֵ¡£½âÊ ......

JavaScript¶ÔÏóµÄ·Ï³ý


ECMAScriptÓÐÎÞÓô洢µ¥ÔªÊÕ¼¯³ÌÐò£¬µ±ÔÚÔÙûÓжԶÔÏóµÄÒýÓÃʱ£¬³Æ¸Ã¶ÔÏ󱻷ϳý£¨dereference£©ÁË¡£
ÔËÐÐÎÞÓô洢µ¥ÔªÊÕ¼¯³ÌÐòʱ£¬ËùÓзϳýµÄ¶ÔÏó¶¼±»Ïú»Ù¡£
°Ñ¶ÔÏóµÄËùÓÐÒýÓö¼ÉèÖÃΪnull£¬¿ÉÒÔÇ¿ÖÆÐԵķϳý¶ÔÏó£¬ÀýÈ磺
    var oObject = new Object;
    .......
   &n ......

JavaScriptµÄÒýÓÃÀàÐÍ


ÒýÓÃÀàÐÍͨ³£½Ð×öÀࣨclass£©£¬Óöµ½ÒýÓÃֵʱ£¬Ëù´¦ÀíµÄ¾ÍÊǶÔÏó¡£
    ¶ÔÏóµÄ´´½¨£º    
        var o = new Object();
        Èç¹ûûÓвÎÊý¿ÉÒÔÊ¡ÂÔÀ¨ºÅ£¬È磺var o = new Object;
   ObjectÀࣺ
&nb ......

JavaScriptµÄÔËËã·û


deleteÖ»ÄÜɾ³ý¿ª·¢Õß¶¨ÒåµÄÊôÐÔ»ò·½·¨£¬Ô­Ê¼µÄECMAScript·½·¨²»ÄÜɾ³ý£¬ÒòΪ²»ÊÇ¿ª·¢Õß¶¨ÒåµÄ£¬±ÈÈ磺toString()¡£
        var o = new Object;
        o.name = "Nicholas";
        delete o.name;
   &n ......

JavascriptÌø×ª´óÈ«

°´Å¥Ê½£º
<INPUT name="pclog" type="button" value="/GO" onClick="location.href='http://game.unimagic.cn'">
Á´½Óʽ£º
<a href="javascript:history.go(-1)">·µ»ØÉÏÒ»²½</a>
<a href="<%=Request.ServerVariables("HTTP_REFERER")%>">·µ»ØÉÏÒ»²½</a>
Ö±½ÓÌø×ªÊ½£º
<scrip ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ