JavaScriptºËÐIJο¼½Ì³Ì ÄÚÖöÔÏó
JavaScript ÊǸù¾Ý "ECMAScript"±ê×¼Öƶ¨µÄÍøÒ³½Å±¾ÓïÑÔ¡£Õâ¸ö±ê×¼ÓÉ ECMA ×éÖ¯·¢Õ¹ºÍά»¤¡£ECMA-262
ÊÇÕýʽµÄ JavaScript ±ê×¼¡£Õâ¸ö±ê×¼»ùÓÚ JavaScript (Netscape) ºÍ JScript
(Microsoft)¡£Netscape (Navigator 2.0) µÄ Brendan Eich ·¢Ã÷ÁËÕâÃÅÓïÑÔ£¬´Ó 1996
Ä꿪ʼ£¬ÒѾ³öÏÖÔÚËùÓÐµÄ Netscape ºÍ Microsoft ä¯ÀÀÆ÷ÖС£ECMA-262 µÄ¿ª·¢Ê¼ÓÚ 1996 Ä꣬ÔÚ 1997 Äê 7
Ô£¬ECMA »áÔ±´ó»á²ÉÄÉÁËËüµÄÊ׸ö°æ±¾¡£
±¾ÏµÁн̳ÌÖ¼ÔÚÏò´ó¼Ò·ÖÏí±¾È˵±ÄêѧϰJavascriptµÄ±Ê¼ÇºÍÐĵᣱ¾ÏµÁн̳ÌÔ¤¼Æ·ÖÎå¸ö²¿·Ö¡£
µÚÒ»²¿·Ö£ºJavascriptÄÚÖöÔÏó¡£
µÚ¶þ²¿·Ö£º¿Í»§¶ËJavaScript¡£
µÚÈý²¿·Ö£ºÎĵµ¶ÔÏóÄ£ÐÍ¡£
µÚËIJ¿·Ö£ºÃæÏò¶ÔÏó·â×°¼°±Õ°üµÄÓ¦Óá£
µÚÎ岿·Ö£ºÏµÁÐרÌâ(ÕýÔò±í´ïʽ£¬¿ò¼Üѧϰ£¬etc...)¡£
JavascriptÆäʵ²»ÊÇÒ»ÖÖÍêÈ«µÄÃæÏò¶ÔÏóµÄÓïÑÔ£¬×¼È·µÄ˵£¬Ó¦¸ÃÊÇÒ»ÖÖ»ùÓÚ¶ÔÏóµÄ±à³ÌÓïÑÔ£¬¾¡¹ÜÎÒÃÇ¿ÉÒÔÄ£ÄâÃæÏò¶ÔÏóµÄÌØÐÔ£¬µ«ÊÇÒ»µ©ÍÑÀë
ËüµÄÈÝÆ÷¼°Ò»Ð©»ù±¾µÄ¶ÔÏó×é¼þ£¬Javascript½«´ç²½ÄÑÐС£Èç¹ûȱÉÙDOM×é¼þµÄÖ§³Ö£¬ÎÒÃǾÍÎÞ·¨Ð´³öÓÅÑŽ»»¥ÐÔÁ¼ºÃµÄÓû§½çÃ棬Èç¹ûȱÉÙ
XMLHTTPRequest×é¼þµÄÖ§³Ö£¬ÎÒÃǽ«ÎÞ·¨ÊµÏÖ½»»¥ÐÔÁ¼ºÃµÄAjax¿Í»§¶Ë³ÌÐò¡£ËùÒÔ£¬ÒªÑ§ºÃJavascript£¬ÎÒÃDZØÐëºÜºÃµÄÕÆÎÕ
Javascript»ù±¾×é¼þµÄʹÓá£
ºÃ£¬ÎÒÃÇÏÂÃæ¾Í´ÓµÚÒ»²¿·Ö¿ªÊ¼£¬¿ªÊ¼½øÈëJavascriptÄÚÖöÔÏóÕ½ڵÄѧϰ¡£
È«¾ÖÊôÐÔ
Infinity
±íʾÕýÎÞÇî´óµÄÊýÖµ
NaN
·ÇÊý×ÖÖµ
undefined
䶨ÒåµÄÖµ
decodeURI()
¶ÔencodeURI()תÒåµÄ×Ö·û´®½âÂë¡£
decodeURIComponent()
¶ÔencodeURIComponent()תÒåµÄ×Ö·û´®½âÂë¡£
encodeURI()
·µ»Ø²ÎÊýµÄ¸±±¾,ÆäÖÐijЩ×Ö·û±»Ê®Áù½øÖƵÄתÒåÐòÁÐÌæ»»ÁË, ½¨ÒéʹÓÃencodeURIComponent()¶Ô×Ö·û´®½øÐбàÂë¡£
encodeURIComponent()
·µ»Ø²ÎÊýµÄ¸±±¾,ÆäÖÐijЩ×Ö·û±»Ê®Áù½øÖƵÄתÒåÐòÁÐÌæ»»ÁË¡£
escape()
ÓÃתÒåÐòÁÐÌ滻ijЩ×Ö·ûÀ´×Ö·û´®±àÂë¡£
eval()
¼ÆËãJavascript´úÂë´®,·µ»Ø½á¹û¡£
isFinite()
¼ìÑéÒ»¸öÖµÊÇ·ñÊÇÎÞÇî´óµÄÊý×Ö¡£
isNaN()
¼ìÑéÒ»¸öÖµÊÇ·ñÊÇ·ÇÊý×ÖµÄÖµ¡£
parseFloat()
´Ó×Ö·û´®½âÎöÒ»¸öÊý×Ö¡£
parseInt()
´Ó×Ö·û´®½âÎöÒ»¸öÊý×Ö¡£
unescape()
¶ÔÓÃescape()±àÂëµÄ×Ö·û´®½âÂë¡£
javascriptÄÚÖöÔÏó
Object¶ÔÏó
constructor
¶ÔÒ»¸öJavascriptº¯ÊýµÄÒýÓÃ,¸Ãº¯ÊýÊǶÔÏóµÄ¹¹Ô캯Êý¡£
hasOwnProperty()
¼ì²é¶ÔÏóÊÇ·ñÓоֲ¿¶¨ÒåµÄ(·Ç¼Ì³ÐµÄ)¡¢¾ßÓÐÌض¨Ãû×ÖµÄÊôÐÔ¡£
isPrototypeOf()
¼
Ïà¹ØÎĵµ£º
JavaScriptΪº¯Êý¶ÔÏó¶¨ÒåÁËÁ½¸ö·½·¨£ºapplyºÍcall£¬ËüÃǵÄ×÷Óö¼Êǽ«º¯Êý°ó¶¨µ½ÁíÍâÒ»¸ö¶ÔÏóÉÏÈ¥ÔËÐУ¬Á½Õß½öÔÚ¶¨Òå²ÎÊýµÄ·½Ê½ÓÐËùÇø±ð£º
Function.prototype.apply(thisArg,argArray);
Function.prototype.call(thisArg[,arg1[,arg2…]]);
´Óº¯ÊýÔÐÍ¿ÉÒÔ¿´µ½£¬µÚÒ»¸ö²ÎÊý¶¼±»È¡ÃûΪthisArg£¬¼´ËùÓк¯ÊýÄÚ²¿µ ......
FRAMESET ±êÇ©ÊÇ FRAME ÔªËصÄÈÝÆ÷¡£
HTML Îĵµ¿É°üº¬ FRAMESET ÔªËØ»ò BODY ÔªËØÖ®Ò»£¬Á½Õß²»ÄÜͬʱʹÓá£
¿ò¼Ü½«ÍøÒ³·Ö³É¼¸¸ö¿ò´°£¬Í¬Ê±È¡µÃ¶à¸öURL¡£ÓÃ<FRAMESET> <FRAME> ¼´¿É£¬ËùÓпò¼Ü±ê¼ÇÐèÒª·ÅÔÚÒ»¸ö×ÜÆðµÄ html ÎĵµÀÕâ¸öµµ°¸Ö»¼Ç¼Á˸ÿò¼ÜÈçºÎ·Ö¸î £¬²»»áÏÔʾÈκÎ×ÊÁÏ£¬ËùÒÔ²»±Ø·ÅÈë <BODY& ......
//»ñÈ¡ä¯ÀÀÆ÷µÄ¿íºÍ¸ß£¨¶àÖÖä¯ÀÀÆ÷£©
function getNavWidthandHeightInfo()
{
var s = "";
s += " ÍøÒ³¿É¼ûÇøÓò¿í£º"+ document.body.clientWidth;
s += " ÍøÒ³¿É¼ûÇøÓò¸ß£º"+  ......
Èç¹ûʹÓÃhtml¿Ø¼þ»¹ºÃһЩ£¬·þÎñÆ÷¿Ø¼þ¾Í±È½ÏÓôÃÆһЩ£¬ÒòΪGridViewÉú³ÉÖ®ºóÊǶàÐеģ¬ËùÒÔÕâ¸öÎı¾¿òÒ²»áÓкܶà¸ö£¬ÁíÒ»·½Ãæasp.net»á×Ô¶¯ÖØÐÂÃüÃû¿Ø¼þ£¬ËùÒÔÏëͨ¹ýID»ñÈ¡ÒѾ²»¿ÉÄÜÁË£¬ºÜ²»ÐÒµÄÊÇÁ¬nameÊôÐÔ¶¼±»×Ô¶¯Éú³ÉÁË£¬ÄÄÅÂÄãÌí¼ÓÁËnameÊôÐÔ£¬Ò²ÎÞ·¨¸²¸ÇÉú³ÉµÄname£¬¶øÊÇ»á³öÀ´Á½¸önameÊôÐÔ
ÄÇô¾ÍÏë±ðµÄ°ì·¨£¬ ......
ʼþÔ´¶ÔÏó
event.srcElement.tagName
event.srcElement.type
²¶»ñÊÍ·Å
event.srcElement.setCapture();
event.srcElement.releaseCapture();
ʼþ°´¼ü
event.keyCode
event.shiftKey
event.altKey
event.ctrlKey
ʼþ·µ»ØÖµ
event.returnValue
Êó±êλÖÃ
eve ......