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

JavaScriptҪѧÄÄЩ¶«Î÷£¿

ÎÒ½Ó´¥web²»¾Ã£¬html¡¢JavaScriptÇ°¶Îʱ¼ä²Å¿ªÊ¼¿´£¬ÏÖÔÚ»ù±¾ÉÏÁ˽âÁËҪѧϰÄÄЩ¼¼Êõ¡£
¾õµÃjava»ù´¡ÊÇÍõµÀ£¬jspºÍservletÊǹؼü¡££¨¶ÔÓÚ¸öÈËÀ´½²ExtÒ²ÊÇÒ»¸ö¿²£©

¸Õ¿ªÊ¼¸ù±¾²»ÖªµÀJavaScriptµÄʱºò£¬¾õµÃÕâ¸öÓ¦¸ÃͦÄѵģ¬µ«ÊǵÈÎÒ¿ªÊ¼¿´µÄʱºò£¬ÎÒÔõ
ô¾Íû¾õµÃÀïÃæÓÐʲô¶«Î÷µ«ÊÇÈ¥¿´È˼ҵÄÏîÄ¿ÓÖ²»ÄÜ¿´¶®¡£ÎÒÏÖÔÚ¾ÍÏëÎÊһϣ¬µ½µ×Òª×ÅÖØ¿´ÄÇЩÄÚÈÝ£¨²ÅÄܱȽϺÏÊÊÎÒÏÖÔÚµÄwebÏîĿѧϰ£©
´ó¼ÒÖ÷Òª¸øÎÒһЩJavaScriptµÄѧϰ½¨Ò飬²»¹ýExtºÍweb·½Ãæѧϰ½¨ÒéÒ²ºÃ~

javaScriptÍõÕß¹éÀ´£¬Õâ±¾Êé²»´í£¬¿´¿´°É£¬Ñ§Ï°ÒªÏ±¾Ç®

ºÃºÃѧϰJ2EE°É£¬Õâ²ÅÊǹؼü£¬°ÑJ2EE»ù´¡Ñ§ºÃ£¬ÔÙѧϰ¿ò¼Ü
ÏÖÔÚºÜÁ÷ÐеÄÓÐstruts¡¢hinernate¡¢spring Ò²¾ÍÊÇSSH
jsÖ»ÊÇweb»¹·¢µÄǰ̨¼¼Êõ£¬ÕâÊÇÃÀ¹¤ÒªÑ§Ï°
ÄãÒªÊÇÏëѧϰǰ̨¿ª·¢Ò²¾ÍÊÇÃÀ¹¤£¬ÄǾÍѧϰJS¡¢CSS¡¢DIVµÈǰ̨¼¼Êõ¡£

JavaScriptÖ»ÊÇÓï·¨¼òµ¥£¬ÔËÓÃÆðÀ´»¹ÊÇÓÐÒ»¶¨ÄѶȵģ¬Òª»¹ÒªÁËhtml,xml,domµÈ֪ʶ£¬ÌرðÊÇdom֪ʶ¸üÖØÒª£¬

javascriptȨÍþÖ¸ÄÏ
¾­µäÊé¼®

ÒªÏëÉîÈëѧϰjavascriptÐèÒªÓиö¹ý³Ì£º
html+javascript(ÓÃÓÚ¼òµ¥ÌØЧ£¬ÊäÈëÑéÖ¤) -> java -> (J2EE + httpЭÒé) -> javascript£¨ÓÃÓÚajax£¬¸»¿Í»§¶Ë¼¼Êõ£©

ÒªÏëѧºÃjavascriptÕâÖÖ¶¯Ì¬ÓïÑÔ£¬×îºÃÏȸ㶮һ޲̬ÓïÑÔ¡£javascript¾ø¶Ô²»ÊÇÄã¿´µ½µÄÄÇô¼òµ¥¡£

ÎÒͬÒâÂ¥ÉϵĿ´·¨

ÒýÓÃ
ºÃºÃѧϰJ2EE°É£¬Õâ²ÅÊǹؼü£¬°ÑJ2EE»ù´¡Ñ§ºÃ£¬ÔÙѧϰ¿ò¼Ü
ÏÖÔÚºÜÁ÷ÐеÄÓÐstruts¡¢hinernate¡¢spring Ò²¾ÍÊÇSSH
jsÖ»ÊÇweb»¹·¢µÄǰ̨¼¼Êõ£¬ÕâÊÇÃÀ¹¤ÒªÑ§Ï°
ÄãÒªÊÇÏëѧϰǰ̨¿ª·¢Ò²¾ÍÊÇÃÀ¹¤£¬ÄǾÍѧϰJS¡¢CSS¡¢DIVµÈÇ°Ì


Ïà¹ØÎÊ´ð£º

¼±ÇóÒ»¸öÔÚÍøÒ³ÖÐÑéÖ¤Óû§ÊäÈëµÄJavaScript´úÂë

±ÈÈçÓÐÒ»¸ötextbox£¬Óû§ÊäÈëºóµãbutton°´Å¥Ê±£¬ÊµÏÖÓÃJavaScript¶ÔtextboxÊäÈëÐÅÏ¢µÄÑéÖ¤£¬±ÈÈçÑéÖ¤Óû§ÊäÈëµÄÊÇ·ñÊÇÊý×Ö¡£
Ï£Íû½«HTML´úÂëÒ»²¢Ð´³öÀ´¹þ£¬Ð»Ð»¡£
HTML code:

<!DOCTYPE html PUBLIC &quo ......

C#Óëjavascript»ìÓÃ

ÎÒÔÚºǫ́ÓÃC#±àдASP.NETÒ³Ã棬ͬʱҪÓÃJAVASCRIPTÀ´¿ØÖÆÌáʾ´°¿Ú£¬Èç
Response.Write(" <script language=javascript>confirm('È·¶¨ÒªÉ¾³ýÂð£¿') </script>");
ÎÒÒªÓÃconfirm( ......

¹ØÓÚJavaScriptµÄСÎÊÌâ

JScript code:

var a="aa";
function ff(){
a="c";
if(false)
{
var a;

}

}
ff();
alert(a);



ΪʲôÒÔÉÏЧ¹û² ......

¼òµ¥µÄjavascriptСÊýµãÅжÏ


ÎÒÔÚjavaScript ÓÃÕâ¸ö´úÂëÅжÏÊäÈëµÄÖµÊÇ·ñÊÇÊý×Ö£¬

ÔÊÐíСÊýµãÊäÈëµÄ»°£¬ Ó¦¸Ã¼Óʲô£¿ ÎÒ¼ÓÁË \. ÊÔÁËÊÔ²»ÐУ¬

ÓÐÄÇλÓÐÏֳɵĴúÂ룬 Ìṩ²Î¿¼ÒÔÏ°É


txt = document.getElementBy ......

ÌÖÑáJavaScript£¬µ«ÓÖ²»µÃ²»È¥½Ó´¥

ÍøÉÏ¿´¹ýºÜ¶àÈËÃÔÉÏÁËJavaScriptÖ®ÀàµÄÑÔÓ¿ÉÄÜËûÃDZÈÎÒ¸üÁ˽âJavaScriptµÄÔµ¹Ê°É¡­¡­

ÎÒÊÇJ2EEÕóÓªµÄ£¬ÃÔÉÏÁËJava,ÒòΪÎÒ×îÁ˽âµÄÊÇj2ee,Ôø¾­ÃÎÏëµ½Sun¹¤×÷——£¨ÃÎÏëÆÆÃðµÄÍ´¿à£©

ÿ´ÎÍ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ