JavaScriptÌØÐ§£ºµ¯³ö²Ëµ¥
	
    
    
	<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="Generator" content="Dreamweaver8" />
<meta name="Author" content="·ãÒ¶Ëæ·ç QQ:455948725 E-mail:liukun615@126.com" />
<link rel="shortcut icon" href="http://www.fengyekun.com/favicon.ico" />
<title>JavaScriptµ¯³ö²Ëµ¥</title>
<style type="text/css">
<!--
* {font-family:"ËÎÌå", Arial, Helvetica, sans-serif; margin:0px; padding:0px; font-size:12px;}
#main {width:100%;}
#content {
    margin-top:100px;
}
#navbg {
    background:#CC0033;
}
#nav {
    position:relative;
    margin:0px auto;
    width:403px;
}
#menu li {
    float:left;
    width:100px;
    height:30px;
    line-height:30px;
}
#menu a:link,#menu a:visited,#menu a:hover {
    color:#fff;
    text-decoration:none;
}
#menudiv {
    top:0px;
    padding-top:30px;
    width:100px;
}
#menudiv table {
    width:100px;
    border-top:1px solid #fff;
    background:#CC0033;
}
#menudiv table td {
    height:25px;
    line-height:25px;
    text-align:center;
    color:#fff;
}
-->
</style&
    
     
	
	
    
    
	Ïà¹ØÎĵµ£º
        
    
    ¡¡¡¡
¡¡¡¡»ù±¾²½Öè
¡¡¡¡1£¬°ÑÐèÒªÅÅÐòµÄÐзŵ½tbodyÖУ¨³ÌÐò»áÖ±½ÓÈ¡tbodyµÄrows£©£»
¡¡¡¡2£¬°ÑÅÅÐòÐзŵ½Ò»¸öÊý×éÖУ» 
¡¡¡¡this.Rows = Map(this.tBody.rows, function(o){ return o; });
¡¡¡¡3£¬°´ÐèÇó¶ÔÊý×é½øÐÐÅÅÐò£¨ÓÃÊý×éµÄsort·½·¨£©£» 
¡¡¡¡this.Rows.sort(Bind(this, this.Compare, orders, 0));
¡¡¡¡4£¬Ó ......
	
    
        
    
    
Ê×ÏÈ£¬ÔÚ¸÷¸öä¯ÀÀÆ÷ÖУ¬¶Ïµãµ÷ÊÔÖ§³ÖµÄ×îºÃµÄµ±È»ÊÇFirefox£¬Firefox²»½ö¿ÉÒÔʹÓÃFirebugµ÷ÊÔÒ³Ãæjs½Å±¾£¬»¹¿ÉÒÔÓø߼¶µ÷ÊÔ¹¤¾ßÀýÈçJavaScript Debugger (Venkman) À´µ÷ÊÔFirefoxÀ©Õ¹ÀïµÄjs¡£³ý´ËÖ®Í⣬Firefox»¹Ö§³ÖһЩ¸üΪ¸ß¼¶µÄ¶Ïµãµ÷ÊÔ¡¢±äÁ¿¼àÊÓ¹¦ÄÜ¡£
ÆäËûä¯ÀÀÆ÷ÀOpera¡¢ChromeºÍSafariµÄµ÷ÊÔ¹¦ÄÜÒ²±È½ÏºÃÓᣠ......
	
    
        
    
    JavaScriptÒ³ÃæË¢ÐÂÓ뵯³ö´°¿ÚÎÊÌâ½â¾ö·½·¨
 
1.ÎÞÌáʾˢÐÂÍøÒ³
´ó¼ÒÓÐûÓз¢ÏÖ£¬ÓÐÐ©ÍøÒ³£¬Ë¢ÐµÄʱºò£¬»áµ¯³öÒ»¸öÌáʾ´°¿Ú£¬µã“È·¶¨”²Å»áˢС£
¶øÓеÄÒ³Ãæ²»»áÌáʾ£¬²»µ¯³öÌáʾ´°¿Ú£¬Ö±½Ó¾ÍË¢ÐÂÁË.
Èç¹ûÒ³ÃæÃ»ÓÐform£¬Ôò²»»áµ¯³öÌáʾ´°¿Ú¡£Èç¹ûÒ³ÃæÓÐform±íµ¥£¬
a)< form method="post" ...&g ......
	
    
        
    
    Ä£·ÂjQuery£¬Éè¼ÆÁËÒ»¸ö»º´æÏµÍ³¡£ÏñjQuery.dataÕâÑùµÄ¶«Î÷£¬PrototypeÓëmootoolsÒ²ÓУ¬Ä¿µÄ¶¼ÊÇÓÃÀ´¸¨Öúʼþϵͳ£¬ÓÃÀ´»º´æÆäÖÐÉú³ÉµÄÊý¾Ý£¬¶ø·Ç»º´æÆÕͨº¯ÊýÉϴμÆËãµÄ½á¹û¡£PrototypeÀûÓÃÁËËüµÄHashÀ࣬mootoolsûϸ¿´£¬ËüÄÚ²¿ºÃÏñÓÃÀ´»º´æuuid¡£Ò»¸ö¹²Ê¶ÊÇ£¬ÎªÒ³ÃæÓõ½µÄÔªËØÉèÖÃuuid·Ç³£ÓÐÓã¬Òª²éÕÒÔªËØÊ±£¬¿ÉÒÔ±ÜÃâÖ ......
	
    
        
    
    ÓÃcall·½·¨ÊµÏּ̳Ð
function classA(sColor){  
       this.color=sColor;  
       this.sayColor=function(){  
         alert(this.color);  
       ......