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

Java,JavaScript,JScript Çø±ð

ÕâÈý¸öÓïÑÔ·Ö±ðÊÇÈý¸ö¹«Ë¾¿ª·¢µÄ£¬SUNµÄJava£¬NetscapeµÄJavaScript£¬MicrosoftµÄJScript
JavaScriptÊÇÓÉNetscape¹«Ë¾¿ª·¢²¢ËæNavigatorµ¼º½ÕßÒ»Æð·¢²¼µÄ¡¢½éÓÚJavaÓëHTMLÖ®¼ä¡¢»ùÓÚ¶ÔÏóʼþÇý¶¯µÄ±à³ÌÓïÑÔ£¬²»ÐèÒªJava±àÒëÆ÷£¬¶øÊÇÖ±½ÓÔËÐÐÔÚWebä¯ÀÀÆ÷ÖУ¬ËüµÄÇ°ÉíÊÇLive Script¡£
JScriptÊÇÒ»ÖÖÀàËÆJavaScriptµÄÓïÑÔ¡£
JavaÊÇSUN¹«Ë¾ÍƳöµÄÐÂÒ»´úÃæÏò¶ÔÏóµÄ³ÌÐòÉè¼ÆÓïÑÔ£¬ÌرðÊʺÏÓÚInternetÓ¦ÓóÌÐò¿ª·¢£¬µ±È»Ò²¿ÉÒÔ¿ª·¢ÆäËüµÄÓ¦ÓóÌÐò£¬ÒÔÇ°ÔÚ°²×°SYBASEºÍDB2µÄʱºò£¬ÎÒ¶¼×¢ÒⶼËüÃǵݲװ³ÌÐòºÃÏó¶¼ÊÇÓÃJavaдµÄ¡£JavaµÄÇ°ÉíÊÇOakÓïÑÔ
1.×ʼwebÉÏÖ»Óо²Ì¬µÄhtml
2.ΪÁËÂú×ã¸üºÃµÄ½»»¥ÐèÇó£¬netscape¿ª·¢ÁËÔÚNavigatorÖÐʹÓõÄLiveScriptÓïÑÔ£¬ºó¸ÄÃûΪJavaScript
3.Microsoft·¢ÐÐjscriptÓÃÓÚinternet explorer.
4.×î³õµÄjscriptºÍjavascript²îÒì¹ý´ó£¬web³ÌÐòÔ±²»µÃ²»Í´¿àµÄΪÁ½ÖÖä¯ÀÀÆ÷±àдÁ½Öֽű¾¡£ÓÚÊǵ®ÉúÁËECMAScript,ÊÇÒ»ÖÖ¹ú¼Ê±ê×¼»¯µÄjavascript°æ±¾¡£ÏÖÔÚµÄÖ÷Á÷ä¯ÀÀÆ÷¶¼Ö§³ÖÕâÖÖ°æ±¾¡£
5.ÎÒÃÇд³ÌÐòµÄʱºò×îºÃд<script language=javascript>¶ø²»ÊÇ<script language=jscript>ÒòΪjavascriptÊÇÒ»¸öͨÓõÄÃû³Æ£¬ËùÓÐä¯ÀÀÆ÷¶¼ÈÏʶ£¬¶øjscriptÖ»ÓÐIEÈÏʶ¡£
6.ÆäËûÓïÑÔϸ½ÚÉϵÄÇø±ð£¬²»ÊÇÒ»Á½ÏÂÄÜ˵ÍêµÄ¡£²»¹ýÎÒ¸öÈËÈÏΪ±à³Ìʱ×îºÃ×ñÑ­ECMAscript±ê×¼¡£ÕâÑù¿ÉÒÔ±£Ö¤¼æÈÝÐÔ¡£
7.˳±ã˵һÏÂ,javascriptÔ­À´½ÐLivescript£¬ºóÀ´SunµÄjava·çÍ·ÕýÊ¢µÄʱºònetscape¾Í°ÑÃû×ָijÉjavascript¡£


Ïà¹ØÎĵµ£º

JavaScript´úÂë(1)

//ºǫ́CSµ÷ÓÃǰ̨JS·½·¨
ClientScript.RegisterStartupScript(this.GetType(), "onclick", "<script>CheckInput()</script>");
//УÑéÊäÈë¿òÊÇ·ñΪ¿Õ£¬Ð£ÑéÊÇ·ñÊÇÊý×Ö
<script type="text/javascript" language="javascript">
         function CheckInput ......

JAVASCRIPT·ÃÎʸ¸´°¿ÚµÄ±äÁ¿»ò·½·¨


AA.HTM
-------------------------------------
<!--
showModalDialogº¯ÊýµÄʹÓà  (ת)     
±¾·¶Àý¿ÉÒÔʵÏÖµ¯³öÒ»¸öģ̬´°¿Ú£¬²¢ÑÝʾÁËÁ½ÖÖ½ÓÊպʹ«µÝ²ÎÊýµÄ·½·¨£¬Í¬Ê±¿ÉÒÔ½ÓÊÜģ̬´°¿Ú·µ»ØµÄ¶à¸ö±äÁ¿   
-->
<html>    &nbs ......

javascriptµ÷Óø¸´°¿ÚµÄº¯ÊýºÍ±äÁ¿


javascriptµ÷Óø¸´°¿ÚµÄº¯ÊýºÍ±äÁ¿
·¢²¼ÈÕÆÚ£º2008-05-28×î½ü¸üУº2008-05-28À´Ô´£ºBHCODE×÷Õߣº
web¿ª·¢µÄʱºò£¬ÓÐʱºòÐèҪʹÓÃÆäËûÒ³ÃæÉÏдºÃµÄjavasriptº¯Êý¡¢±äÁ¿¡£È絯³ö´°¿ÚÐèҪʹÓø¸´°¿ÚÖеĺ¯Êý£¬¿ò¼Ü1ÐèҪʹÓÿò¼Ü2Öеĺ¯Êý¡£
µ÷Óú¯Êý¡¢±äÁ¿µÄ·½·¨Ò»Ñù£¬¶¼ÊÇÐèÒªÊ×ÏÈ»ñµÃÄãÐèÒªµ÷Óõĺ¯ÊýËùÔÚµÄwindow¶ÔÏó ......

Javascript Ö®prototypeÊôÐÔ

ÔÚjsÖУ¬Ã¿¸ö¶ÔÏó¶¼ÓÐÒ»¸öprototypeÊôÐÔ£º·µ»Ø¶ÔÏóÀàÐÍÔ­Ð͵ÄÒýÓ᣺ÜÞÖ¿Ú£¡Ï°Óï“ÒÀºù«»­Æ°”£¬ÕâÀïµÄºù«¾ÍÊÇÔ­ÐÍ£¬ÄÇô“Æ°.prototype” ·µ»ØµÄ¾ÍÊǺù«£¬»òÕß“Æ°.prototype= new ºù«()”¡£
prototypeµÄÓÃ;£º
¼Ì³Ð
ÓÐÒ»¸ö¶ÔÏó£­£­×ÓÀࣺ
function ×ÓÀà() {
this.lastname = ......

JavaScript FAQ£¨¶þÊ®Èý£©

¶þÊ®¡¢Bookmarklet
1¡¢Ê²Ã´ÊÇBookmarklet£¿£¨What's a Bookmarklet?£©
Q£ºÊ²Ã´ÊÇBookmarklet£¿
A£ºBookmarkletÊÇÕû¸ö¶¼±»°üº¬ÔÚ³¬Á´½ÓURLÖеÄһС¶ÎJavaScript³ÌÐò¡££¨JavaScript URL¾ÍÊÇÕâ¸öÑù×Ó£º<a href="javascript:the code goes here">¡££©¶àÊýä¯ÀÀÆ÷ÔÊÐíÓû§Ìí¼ÓÕâЩJavaScript URLÊéÇ©£¬¾ÍÏñÌí¼ÓÆäËû³¬Á´½ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ