¹ØÓÚѧϰJavaScript!
д¸øÏëѧJavascriptÅóÓѵÄÒ»µã¾Ñé̸֮(º¬½Ì²ÄÑ¡È¡Ö¸µ¼)
¹äÂÛ̳ʱ¿´µ½ÓÐÅóÓÑÎÊ£¬ÊÇ·ñÓÐרÃŽÌJavascriptµÄѧУ£¬ÕâÀïÏëÏë°Ñ×Ô¼ºµÄÒ»µã½¨ÒéºÍ×Ô¼º3ÄêÀ´µÄÇ°¶ËJavascript¿ª·¢µÄ¾Ñé¸ú´ó¼Ò·ÖÏíÏ£¬Ò²¸ø³ö¼¸±¾¸öÈËÈÏΪ²»´íµÄÊéÀ´×öΪ´ó¼ÒѧϰµÄ²Î¿¼×ÊÁÏ¡£µ±È»Ö»ÊǸöÈ˵ľÑ飬ÓÐʲô²»¶ÔµÄÒ²Çë¸ßÊÖ¼ûÁºÍÖ¸Õý¡£
¹ØÓÚµ½ÅàѵѧУѧϰµÄÖҸ棺±ð˵ÏÖÔÚûÓÐÕâÑùµÄѧУ£¬¾ÍÊÇÓÐרÃŵÄѧУҲ²»ÒªÈ¥£¬ÒòΪ²»»áÓкõÄÀÏʦµÄ¡£²»ÒªÀË·ÑÄã×Ô¼º£¨ºÜ¿ÉÄÜÊÇÄ㸸ĸ£©µÄÇ®ºÍʱ¼ä¡£³ÃÔçËÀÁËÕâ¸öÄîÍ·¡£
¹ØÓÚÅàѵѧУµÄÕâ¸öÎÒÏëÎÒÒª±ÈÒ»°ãµÄÅóÓѸüÓз¢ÑÔȨ£¬ÒòΪÎÒ±¾È˸ÉÓ¢ÓïÅàѵ½«½ü2Ä꣬ÎÒºÜÇå³þÅàѵÊг¡µÄÇé¿ö£¬ÄãºÜÄÑÅöµ½Ò»¸öºÃµÄÀÏʦ¡£Ó¢Óï¿ÉÄÜ»¹ºÃЩ£¬±Ï¾¹Ó¢Óï˵µÃºÃµÄÀÏʦ»¹±È½Ï¶à£¬³¤ÆÚ¸úÀÏÍâÅÝÔÚÒ»Æð£¬È·Êµ¶Ô¿ÚÓïÄÜÁ¦µÄÌá¸ßºÜÏÔÖø£¬µ«ÊÇ´ú¼ÛÊǺܰº¹óµÄ¡£¶øÄãÏÖÔÚҪѧµÄÊÇJavascript£¬ºÇºÇ£¬ºÃµÄÇ°¶Ë¹¤³Ìʦ¿É²»¶à£¡
ÎҵĸöÈ˹۵㣬ÓÐ×ʸñºÍÓÐÄÜÁ¦µÄ½ÌºÃJavascriptµÄÀÏʦ£¬Ò»¶¨ÒªÊǸöºÃµÄÓÐ×ŷḻµÄÇ°¶Ë¿ª·¢¾ÑéµÄÇ°¶Ë¹¤³Ìʦ¡£´óѧµÄÀÏʦ£¬½ÌÊÚ¿ÉÄÜËûÃÇÖкÜÉÙÓÐÈË·ûºÏÕâ¸öÒªÇ󣬶øºÃµÄÇ°¶Ë¹¤³Ìʦ£¬¶¼Ã¦×Å×Ô¼ºµÄ¹¤×÷È¥ÁË¡£Ê£ÏµÄÓÐʱ¼äÈ¥½ÌJavascriptµÄÈË£¬ºÇºÇ£¬¾Í²»¶à˵ÁË¡£
ÕâÀïÒ²·¢µãÀÎɧ£¬ÎÒÃÇÔÚ´óѧУ԰ÀïѧϰµÄ¶«Î÷£¬ÄãѧµÄʱºò¸ù±¾²»ÖªµÀÕâ¸ö¶«Î÷ÓÐʲôÒâÒ壬Äã×Ô¼º²»È¥×êÑУ¬ÀÏʦËûÊDz»»á¸æËßÄãµÄ¡£ÔÚÅàѵѧУ£¬ºÇºÇ£¬Ò²²î²»¶à¡£
Èç¹û²»ÊÇÒ»¸öºÃµÄÇ°¶Ë¹¤³Ìʦ£¬ËûºÜÄѸæËßÄãΪʲôÎÒÃÇÏÖÔÚÌᳫʹÓñհü°ÑÒÔÇ°µÄÈ«¾Ö±äÁ¿·Åµ½±Õ°üÖÐ×÷Ϊ±Õ°üº¯ÊýµÄ¾Ö²¿±äÁ¿£¿ËûÒ²ºÜÄѶÔJavascript±äÁ¿×÷ÓÃÓòµÄÏà¹Ø֪ʶ¸úÄ㽲͸³¹¡£ÔÚJavascriptÀïÄܹ»ÐγÉscope£¨×÷ÓÃÓò£©µÄ¶«Î÷ÓÐÄÄЩ£¿ÎªÊ²Ã´ËµÈ«¾Ö±äÁ¿ÊÇħ¹í£¿±Õ°üÓÖÊÇÔõô²úÉúµÄ×÷ÓÃÓò£¿µÈµÈÕâÑùºÜ»ù´¡£¬µ«ºÜÖØÒªµÄ֪ʶµÄÒâÒ壬Ëû²»Çå³þ£¬½«¸øÄãÌý£¬ÈÃÄãÃ÷°×ÕâЩ֪ʶºÍËûÃǵÄÒâÒå¾Í¸üÀ§ÄÑ¡£
ºÇºÇ£¬ËùÒÔÎҵĽ¨Ò飬ÏëѧJavascript£¬»¹ÊǶà¸úÄãµÄÉí±ßÈÏʶµÄÅóÓÑ£¬ÌرðÊÇÄÇЩ´ÓÊÂÇ°¶Ë¿ª·¢µÄ¹¤³Ìʦ¶à½»Á÷ºÍѧϰ¡£×Ô¼ºÒª¶à×êÑС£ºÇºÇ£¬²»ÈÏʶǰ¶Ë¹¤³Ìʦ£¬¾Íµ½À¶É«ÀíÏëÀ´¶à¿´¿´£¨bbs.blueidea.com£¬¼Çס£¡Õâ¿É²»Êǹã¸æŶ£¡£©£¬°ÑÄã²»Çå³þµÄÎÊÌâÌá³öÀ´£¬µ«ÊÇÎÒÕâÀïҪ˵һ¸öºÃµÄѧϰϰ¹ß¡£Ê²Ã´Ê±ºòÌáÎÊ£¿
ʲôʱºòÌáÎÊ£¿Õâ¸öÒ²ÊÇÎÊÌâÂ𣿶Եģ¬ºÜ¶àÈË£¬Ò²ÊǺܶàÔÚУѧÉúµÄÒ»¸ö²»ºÃµÄѧϰϰ¹ß£¬Ò»ÓÐÎÊÌâ¾ÍÎʱðÈËÇëÇó°ïÖú¡£ÎÒ¸öÈËÕâ¸öÊǸö»µÏ°¹ß¡£ÄѵÀÎÊÎÊÌâÒ²ÊǸö»µÏ°¹ß£¿¶ÔµÄ£¬ÎÒ¸öÈ˾õµÃ£¬ÄãÎÊÎÊÌâÑ°Çó±ðÈ˵İïÖú£¬Ó¦¸
Ïà¹ØÎĵµ£º
/*¼ì²éÊÇ·ñÑ¡Öи´Ñ¡¿ò2010Äê3ÔÂ6ÈÕ10:36:48*/
function checkSelect(id, msg){
var checks = $(id).getElementsByTagName("input");
var flag=false;
if(checks.length!=null){
for(var i=0;i<checks.length;i++){
if(checks[i].type=="checkbox" && checks[i].checked= ......
ÔÚʹÓÃgetElementByIdʱÓÖÓöµ½ÁË“document.getElementById('...')Ϊ¿Õ»ò²»ÊÇ·½·¨”µÄ´íÎó£¬alert()ÁËһϷ¢ÏÖ»ñÈ¡µÄֵΪnull£¬ÓÚÊÇÕÒÁË°ëÌìËÑË÷µ½ÁËÕâ¸öÕâ¸ödefer¡£
ÔÚjavascript±êÇ©ÖмÓÉÏ defer µÈÓÚÔÚÒ³ÃæÍêÈ«ÔÚÈëºóÔÙÖ´ÐУ¬Ï൱ÓÚ window.onload £¬µ«Ó¦ÓÃÉÏ±È window.onload  ......
1¡¢isPrototypeOf
isPrototypeOfÊÇÓÃÀ´ÅжÏÖ¸¶¨¶ÔÏóobject1ÊÇ·ñ´æÔÚÓÚÁíÒ»¸ö¶ÔÏóobject2µÄÔÐÍÁ´ÖУ¬ÊÇÔò·µ»Øtrue£¬·ñÔò·µ»Øfalse¡£
¸ñʽÈçÏ£º
object1.isPrototypeOf(object2);
object1ÊÇÒ»¸ö¶ÔÏóµÄʵÀý£»
object2ÊÇÁíÒ»¸ö½«Òª¼ì²éÆäÔÐÍÁ´µÄ¶ÔÏó¡£
ÔÐÍÁ´¿ÉÒÔÓÃÀ´ÔÚͬһ¸ö¶ÔÏóÀàÐ͵IJ»Í¬ÊµÀýÖ®¼ä¹²Ïí¹¦ÄÜ¡£ ......
JavaScriptºÍJavaµÄÇø±ð
¡¡¡¡ËäÈ»JavaScriptÓëJavaÓнôÃܵÄÁªÏµ£¬µ«È´ÊÇÁ½¸ö¹«Ë¾¿ª·¢µÄ²»Í¬µÄÁ½¸ö²úÆ·¡£JavaÊÇSUN¹«Ë¾ÍƳöµÄÐÂÒ»´úÃæÏò¶ÔÏóµÄ³ÌÐòÉè¼ÆÓïÑÔ£¬ÌرðÊʺÏÓÚInternetÓ¦ÓóÌÐò¿ª·¢£»¶øJavaScriptÊÇNetscape¹«Ë¾µÄ²úÆ·£¬ÆäÄ¿µÄÊÇΪÁËÀ©Õ¹Netscape Navigator¹¦ÄÜ,¶ø¿ª·¢µÄÒ»ÖÖ¿ÉÒÔǶÈëWebÒ³ÃæÖеĻùÓÚ¶ÔÏóºÍʼþÇý¶ ......
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<mce:style type="text/css"><!--
table,tr,td {
background-position: center;
border-width: 1px;
border-style: solid;
border-coll ......