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

javascriptÖеıհüÑ­»·±äÁ¿Ö»ÄÜÈ¡×îºóÒ»¸öÖµÎÊÌâ

ÍøÉÏÃæËµjavascript±Õ°üÓÐÁ½µãÐèҪעÒ⣺
1. ±Õ°üÖеĻ·¾³±äÁ¿Èç¹ûÊÇÔÚÑ­»·ÖУ¬ÄÇôʹÓñհü±äÁ¿µÄʱºòÊÇÑ­»·½áÊøºóµÄÖµ
2. ±Õ°ü»·¾³±äÁ¿¿ÉÒÔ¶¨ÒåÔÚ·½·¨ºó£¬²»Ó°ÏìʹÓÃ
µÚ1µãÊÇ˵±Õ°üÀï»·¾³±äÁ¿Èç¹ûÊÇÔÚÑ­»·ÖУ¬ÄÇÖ»ÄÜȡѭ»·½áÊøºóµÄÖµ
Õâ¸öÎÊÌâ¿ÉÒÔÓÃevalº¯Êý¼òµ¥½â¾ö£¬ÔÚÑ­»·ÖÐÓÃevalÖ´Ðбհüº¯ÊýÓï¾ä¾ÍûÎÊÌâÀ²£¬Ð§ÂÊ·½Ãæ¿´´ó¼ÒʹÓÃÇé¾°°É£¬Ð¡·¶Î§Ó¦¸ÃÊÇûÎÊÌâµÄ


Ïà¹ØÎĵµ£º

javascript table²Ù×÷Àà

/************** javascript table²Ù×÷Àà***************
* ½öÊʺÏIE6
****µ÷ÓÃʾÀý*****************************************
*
* var table=new TableOption("tb");
*
* var table=new TableOptions("tb",{hoverColor:#aabbcc,hover:false});
*
*****************************************************/
var $= ......

JavascriptÅжϿոñ

ÕýÔò
<script>
 function checkvalue(){
 if(document.Form.content.value.replace(/\s/g,"")=="")
 {
 alert("ÄÚÈݲ»ÄÜΪ¿Õ!");
 document.addForm.content.focus();
 return false;
 }
 document.addForm.submit();
 return ......

javascriptµÄdomReady

»ù±¾ÉÏÿ¸ö¿â¶¼ÓÐÕâ¶«Î÷£¬ÒòΪÈç¹ûÒª¶ÔÒ³ÃæÉϵÄÔªËØ½øÐвÙ×÷£¬ÎÒÃDZØÐëµÈµ½Ò³Ãæ¼ÓÔØÁËÕâ¸öÔªËØ²ÅÐУ¬·ñÔò»á±¨´í£¬µ«ÊÇÎÒÃǺÜÄÜÅж¨Ä³¸öÔªËØÊÇ·ñÒѼÓÔØ£¬µ«ÎÒÃÇ¿ÉÒÔÅж¨Ò³ÃæÊÇ·ñ¼ÓÔØ£¬Õâ¾ÍÊÇÎÒÃǾ­³£°Ñ´úÂë·Åµ½window.onload = function(){}Ö®ÖеÄÔµÓÉ¡£µ«window.onloadʼþÊÇ´ýµ½Ò³ÃæÉϵÄËùÓÐ×ÊÔ´±»¼ÓÔØ²Å¼¤»î£¬Èç¹ûÒ³ÃæÉÏÓ ......

javascript¸ÐÑÔ

                                                    ......

javascriptµÄdocument¶ÔÏóÏê½â(ת)

document Îĵ²¶ÔÏó - JavaScript½Å±¾ÓïÑÔÃèÊö
---------------------------------------------------------------------
×¢:Ò³ÃæÉÏÔªËØnameÊôÐÔºÍJavaScriptÒýÓõÄÃû³Æ±ØÐëÒ»Ö°üÀ¨´óСд
   ·ñÔò»áÌáʾÄãÒ»¸ö´íÎóÐÅÏ¢ "ÒýÓõÄÔªËØÎª¿Õ»òÕß²»ÊǶÔÏó"
------------------------------------------------------ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ