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

javascript ¾­³£ÓõÄÒ»Ð©ÌØÊâЧ¹û

1. ÈÃÎÄ×Ö²»Í£µÄ¹ö¶¯¡£
     <marouee>¹ö¶¯ÎÄ×Ö</marouee>
2.¼Ç¼²¢ÏÔÊ¾ÍøÒ³µÄ×îºóÐÞ¸Äʱ¼ä
     <script language="javascript">
         doucument.write("×îºó¸üÐÂʱ¼ä£º" + document.lastModified + " ")
     </script>
3.Ìí¼Óµ½ÊղؼÐ
    <script language="javascript">
     function bookmarkit() {
         window.external.addFavorite('http://ÄãµÄÍøÖ·','ÄãµÄÍøÕ¾Ãû³Æ');
      }
      if(document.all)
          document.write('<a href="#" onClick="bookmarkit()">¼ÓÈëÊղؼÐ</a>');
     </script>
4.ÉèÖøÃҳΪÊ×Ò³
   <body bgcolor="#FFFFFF" text="#000000">
    <!--ÍøÖ·£ºhttp://ÄãµÄÍøÖ·-->
    <a class="chlnk" style="cursor:hand"
      href onClick="this.style.behavior='url(#default#homeapge)';this.setHomePage('ÄãµÄÍøÕ¾Ãû³Æ);"><font color="000000" size="2" face="ËÎÌå">ÉèΪÊ×Ò³</font></a>
//δÍê¡£¡£¡£Ã÷Ìì¼ÌÐø


Ïà¹ØÎĵµ£º

javascriptЧÂʾ­Ñé̸(Ò»)

±¾ÎÄÖ÷ÒªÊdzöÓÚÓÐÅóÓÑʹÓÃÎÒÔ­À´Ð´µÄautocompleteµÄJS¿Ø¼þ¡£µ±Êý¾ÝÁ¿´óµÄʱºò£¬»á³öÏÖЧÂʼ«ÆäÂýµÄÇé¿ö£¬ÎÒÔÚÕâ¶Îʱ¼ä×ö³öµÄһЩ²âÊÔÒ²¼°Ò»Ð©¾­Ñ飬Óë´ó¼Ò·ÖÏí£¬Èç¹ûÓдíµÄµØ·½£¬»¹ÇëÖ¸³ö¡£
¾­¹ý²âÊÔ£¬ÎÒÃǻᷢÏÖÈçϵÄÇé¿ö»òÕß˵µÄ½áÂÛ£¬Èç¹ûÄúµÄ²âÊÔ½á¹ûÓëÎҵIJ»·û£¬Çë˵Ã÷Ô­Òò£¬ÒÔ±ãÏ໥ѧϰ¡£
1£©µ±Ò»¸ö½Ï´óµÄHTML×Ö· ......

[JavaScript] ¡¶¾«Í¨JavaScript¡·Ñ§Ï°£¨ËÄ£©~ÃæÏò¶ÔÏó

     
     prototype¾«²Ê×ÊÁÏ£º
     "javascriptÖ®prototype" http://www.cnblogs.com/zouhaijian/archive/2009/03/29/1424592.html(ºÜ¼òÔ¼µ«ÇåÎúµÄ½²ÊöÁËprototypeµÄÓÃ;)
     "JavaScript¶ÔÏóÄ£ÐÍ-Ö´ÐÐÄ£ÐÍ" http://w ......

javascript µÄtry catch


Try...Catch Óï¾ä
try...catch ¿ÉÒÔ²âÊÔ´úÂëÖеĴíÎó¡£try ²¿·Ö°üº¬ÐèÒªÔËÐеĴúÂ룬¶ø catch ²¿·Ö°üº¬´íÎó·¢ÉúʱÔËÐеĴúÂë¡£
Óï·¨£º
try
{
//ÔÚ´ËÔËÐдúÂë
}
catch(err)
{
//ÔÚ´Ë´¦Àí´íÎó
}
×¢Ò⣺
try...catch ʹÓÃСд×Öĸ¡£´óд×Öĸ»á³ö´í¡£
ʵÀý 1
ÏÂÃæµÄÀý×ÓÔ­±¾ÓÃÔÚÓû§µã»÷°´Å¥Ê±ÏÔʾ " ......

Êղر¾Ò³¹¦ÄܵÄJavascript´úÂë ¼æÈÝIEºÍFirefoxµÄ

< a href =
"#"
 
onClick =
"javascript:window.external.AddFavorite(document.URL,document.title);return
false"
rel=
"sidebar"
> Êղر¾Ò³ </ a >
È¡µÃµ±Ç°Ò³µÄURL: document.URL
È¡µÃµ±Ç°Ò³µÄtitle: document.title
ʵÏÖÔÚFirefoxÖГÊÕ
²Ø±¾Ò ......

javascript Êý¾Ý¿âÈ¡Êý¾Ý ȫѡºÍ·´Ñ¡

    javascriptËù¶ÔÓ¦µÄȫѡºÍ·´Ñ¡ ¡£²Ù×÷Êý¾Ý¿â¼Ç¼¡£
ÒÔÏÂÊÇÒ³Ãæ´úÂ룺
<tr>
<td colspan="6" width="100%">
<table border="2" width="100%">
<tr class="center">
<th width="20%& ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ