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

javascriptÖеÄwith

with(document)  
  {  
      write   ("test");  
      write  
("dsasfda");  
  }  
  ÉÏÃæÊÇÓÃÁËwith  
  Èç¹û²»Óõϰ¾ÍÒªÕâÑùдÁË  
 
document.write   ("test")  
  document.write   ("dsasfda");  
   
 
Ê¡µôÁ˲»ÉٵĴúÂëÓ´


Ïà¹ØÎĵµ£º

ѧϰ¡¶JavaScript¸ß¼¶³ÌÐòÉè¼Æ¡·Ñ§Ï°±Ê¼Ç£¨Èý£©

µÚÈýÕ   ¶ÔÏó»ù´¡
      ÔÚjavaScriptÖУ¬¶ÔÏóÊÇÎÞÌØ¶¨Ë³ÐòµÄÖµµÄÊý×é¡£
Ò»¡¢¶ÔÏóµÄÀàÐÍ
    ·ÖΪ±¾µØ¶ÔÏó¡¢ÄÚÖöÔÏóºÍËÞÖ÷¶ÔÏóÈýÖÖ£¬ÆäÖÐÄÚÖöÔÏóÒ²ÊôÓÚ±¾µØ¶ÔÏó¡£
¶þ¡¢±¾µØ¶ÔÏó£º
    1¡¢ArrayÀ࣬Êý×éÀà¡£
      ......

ÏòAsp.netÒ³ÃæÌí¼Ójavascript½Å±¾

1¡¢Ê¹ÓÃPage.ClientScript.RegisterClientScriptBlock
RegisterClientScriptBlock·½·¨¿ÉÒÔ°ÑJavaScriptº¯Êý·ÅÔÚÒ³ÃæµÄ¶¥²¿¡£Ò²¾ÍÊÇ˵£¬¸Ã½Å±¾ÓÃÓÚÔÚä¯ÀÀÆ÷ÖÐÆô¶¯Ò³Ãæ¡£
Code
<%@ Page Language="C#" %>
<script runat="server">
protected void Page_Load(object send ......

JavaScript Ñ­»·

JavaScript For Ñ­»·
Previous Page
Next Page
JavaScript ÖеÄÑ­»·ÓÃÀ´½«Í¬Ò»¶Î´úÂëÖ´ÐÐÖ¸¶¨µÄ´ÎÊý£¨»òÕßµ±Ö¸¶¨µÄÌõ¼þΪ true ʱ£©¡£
ʵÀý
For Ñ­»· ÈçºÎ±àд loop Ñ­»·À´°´ÕÕÖ¸¶¨µÄ´ÎÊýÖ´ÐÐÏàͬµÄ´úÂë¡£ Ñ­»·²úÉú HTML ±êÌâ ÈçºÎʹÓÃLoopÑ­»·À´²úÉú²»Í¬µÄHTML±êÌâ¡£
JavaScript Ñ­»·
ÔÚ±àд´úÂëʱ£¬Äã³£³£Ï£Íû· ......

javascript ѧϰ±Ê¼Ç£¨4£©

1. Ò»ÖÖÃæÏò¶ÔÏóÓïÑÔÐèÒª¿ª·¢ÕßÌṩÒÔÏÂËÄÖÖ»ù±¾ÄÜÁ¦¡£
£¨1£©·â×°---°ÑÏà¹ØÐÅÏ¢£¨ÎÞÂÛÊôÐÔ»¹ÊÇ·½·¨£©´æ´¢ÔÚ¶ÔÏóÖеÄÄÜÁ¦¡£
£¨2£©¾Û¼¯---°ÑÒ»¸ö¶ÔÏó´æ´¢ÔÚÁíÒ»¸ö¶ÔÏóÄÚµÄÄÜÁ¦¡£
£¨3£©¼Ì³Ð---ÓÉÁíÒ»¸öÀࣨ»ò¶à¸öÀࣩµÃÀ´ÀàµÄÊôÐÔ»ò·½·¨µÄÄÜÁ¦¡£
£¨4£©¶à̬---±àдÄÜÒÔ¶àÖÖ·½·¨ÔËÐеĺ¯Êý»ò·½·¨µÄÄÜÁ¦¡£
2. °Ñ¶ÔÏóµÄËù ......

javascript¶íÂÞ˹·½¿é¡¾¸½´øÔ´Âë¡¿

ÔÚ¿´ÁËW3CµÄ¹ØÓÚECMScriptµÄ¶ÔÏ󼰼̳кó£¬ÏÈÊÇÍê³Ḛ́³ÔÉßµÄʵÏÖ¡£×î½üÓÖ³é¿ÕʵÏÖÁË϶íÂÞ˹·½¿é¡£¶ÔÓÚ¶íÂÞ˹·½¿éÖØÒªµÄ²»ÊÇÓÎÏ·±¾Éí£¬¶øÊÇÔÚÕâ¸ö¹ý³ÌÖжÔÓÚjavascript¼Ì³ÐµÄʹÓá£
µ±È»ÔÚһЩ¶ÔÏóµÄ»®·Ö¼°Ê¹Óùý³Ì»¹´æÔÚ覴ã¬Ëã·¨Ò²²»Ëã×îÓÅ£¬·¢²¼³öÔ´ÂëÖ»ÊÇÏë×ö¸ö½»Á÷¡£ÒÔϾÍÌṩԴ´úÂ빩´ó¼Ò²Î¿¼£¬Ò²Îª×Ô¼º×ö¸ö±¸·Ý¡£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ