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

Csdn Ö®"Ìí¼ÓjavascriptÌØÐ§"

 Ò»¡¢ ÔÚ×Ô¶¨ÒåcssÑùʽÖÐÊäÈë </style>  ½«css´úÂë¶Î½áÊø£»
 ¶þ¡¢ ÔÚ </style>  ºóÃæÊäÈë <script type="text/javascript" language="javascript">js´úÂë</script>£»
 Èý¡¢ ±£´æÅäÖþͿÉÒÔÓÐÄãÊäÈëµÄjsÌØÐ§À²¡£
 ÓÉÓÚ±¾È˶Ôjs²»ÊǺÜÊìϤ£¬ÕâÀï¾Í²»Ð´Àý×ÓÁË£¬Ï£ÍûÓкÃÉè¼ÆµÄ²©ÓÑÃÇÄÜ·ÖÏíÒ»ÏÂÄãÃǵĴúÂë¡£


Ïà¹ØÎĵµ£º

¹ØÓÚjavascript º¯ÊýµÄµ÷ÓÃ

 ÄÄλʦ¸çʦ½ãÄܹ»°ïæ½â¾öһϣ¬ÔÚjsp½Å±¾ÖÐÄÜ·ñµ÷ÓÃjavascriptº¯Êý£¬Èç¹ûÄÜÔõôµ÷Óã¿
¾ÍÊÇ˵¼ÙÈçÒ»¸öjavascript º¯ÊýÓÐÒ»¸ö·µ»ØÖµÈçreturn“a”;
ÔÚjsp½Å±¾ÖÐÉùÃ÷Ò»¸öStringÀàÐ͵ıäÁ¿Ôõôµ÷ÓÃÉÏÃæµÄº¯ÊýÀ´½ÓÊÜ·µ»ØµÄÖµ£¡
Ï£ÍûÄܰïæ½â¾öÏÂ,ллÁË£¡ ......

javascript event ʼþ½âÎö

 ÃèÊö event´ú±íʼþµÄ״̬£¬ÀýÈç´¥·¢event¶ÔÏóµÄÔªËØ¡¢Êó±êµÄλÖü°×´Ì¬¡¢°´ÏµļüµÈµÈ¡£ event¶ÔÏóÖ»ÔÚʼþ·¢ÉúµÄ¹ý³ÌÖвÅÓÐЧ¡£  eventµÄijЩÊôÐÔÖ»¶ÔÌØ¶¨µÄʼþÓÐÒâÒå¡£±ÈÈ磬fromElement ºÍ toElement ÊôÐÔÖ»¶Ô onmouseover ºÍ  onmouseout ʼþÓÐÒâÒå¡£ Àý×Ó ÏÂÃæµÄÀý×Ó¼ì²éÊó±êÊÇ·ñÔÚÁ´½ÓÉ ......

Javascript֪ʶ¾«»ª(zhuan)

 
<script    language="JavaScript" type="text/javascript" >
<!--
         .
//-->
</script>
.languageÒѾ­±»ÆúÓ㬵«ÎªÁ˼æÈݾɰ汾ä¯ÀÀÆ÷¶ø±£Áô£¬ËùÒÔ½¨ÒéͬʱʹÓÃÕâlanguageºÍtypeÁ½¸ö
.<!---     / ......

Îò͸JavaScript

Òý×Ó
    ±à³ÌÊÀ½çÀïÖ»´æÔÚÁ½ÖÖ»ù±¾ÔªËØ£¬Ò»¸öÊÇÊý¾Ý£¬Ò»¸öÊÇ´úÂë¡£±à³ÌÊÀ½ç¾ÍÊÇÔÚÊý¾ÝºÍ´úÂëǧ˿ÍòÂÆµÄ¾À²øÖгÊÏÖ³öÎÞÏÞµÄÉú»úºÍ»îÁ¦¡£
    Êý¾ÝÌìÉú¾ÍÊÇÎľ²µÄ£¬×ÜÏë±£³Ö×Ô¼º¹ÌÓеı¾É«£»¶ø´úÂëÈ´ÌìÉú»îÆÃ£¬×ÜÏë¸Ä±äÕâ¸öÊÀ½ç¡£
 
  
Äã¿´£¬Êý¾Ý´úÂë¼äµÄ¹ØÏµÓëÎïÖ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ