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

javascriptÐÔÄÜÓÅ»¯

ºÜ¾Ã¾ÍÏë×ܽáһϹØÓÚjavascriptÐÔÄÜÓÅ»¯·½ÃæµÄһЩ¶«Î÷£¬Æ½Ê±Ò²ÓÐ×¢ÒâÊÕ¼¯Õâ·½ÃæµÄ×ÊÁÏ¡£°Ñdel.icio.usÀïµÄÊղصĶ«Î÷·­³öÀ´¿´Ò»±é£¬²Å¾ªÆæµØ·¢ÏÖ£¬ÕâЩËùνµÄÓÅ»¯·½·¨´ó¶à³ö×Ô¡¶javascript¸ß¼¶³ÌÐòÉè¼Æ¡·Ò»Ê飬µ±È»Ò²Óиö±ð
²»Ò»ÑùµÄ¡£×ÜÖ®Õâ±¾ÊéÉϹØÓÚjavascriptÐÔÄÜÓÅ»¯µÄÄÚÈÝ×ã×ãÓÃÁ˽ü20Ò³À´½øÐвûÊö£¬ËùÒÔ½ñÌìÎÒÒ²ÕÕ±¾Ðû¿ÆµØÀ´½éÉÜһϣ¬Í¬Ê±ÊÕ¼ÆäËû·½·¨¡£
javascriptµÄÐÔÄÜÓÅ»¯Ó¦·ÖΪÁ½²¿·Ö£ºÏÂÔØʱ¼äºÍÖ´ÐÐʱ¼ä¡£
ÏÂÔØʱ¼ä
javascript×÷ΪһÖÖ½âÊÍÐÔÓïÑÔ²»Í¬ÓÚÆäËû±à³ÌÓïÑÔ¡£ÔÚÖîÈçjava,c,c++µÄÓïÑÔÖУ¬¿ª·¢ÈËÔ±¸ù±¾ÎÞÐ迼ÂDZäÁ¿ÃûµÄ³¤¶ÈÒÔ¼°³¤Æª´óÂÛµÄ×¢ÊÍ£¬ÒòΪÕâЩÔÚ±àÒëʱ¶¼»á±»É¾³ý¡£
µ«ÊÇwebä¯ÀÀÆ÷ÏÂÔصÄÊÇjavascriptµÄÔ´´úÂ룬Äã±àдµÄjavascript³ÌÐòÎļþ»áÔ­Ä£Ô­ÑùµØÏÂÔص½¿Í»§¶Ë¡£¶øÕâЩ³¤±äÁ¿ÃûºÍ×¢ÊÍ
¾Í»áÓ°Ïì½Å±¾µÄÏÂÔØʱ¼ä¡£µ¥¸öTCP-IP°üÖÐÄÜ·ÅÈëµÄ×Ö½ÚÊýÊÇ1160£¬ËùÒÔ×îºÃ½«Ã¿¸öjavascriptÎļþµÄ´óС¿ØÖÆÔÚ1160×Ö½ÚÒÔÄÚÒÔ»ñÈ¡×î
ÓŵÄÏÂÔØʱ¼ä¡£
javascriptÎļþÖеÄÈκÎ×Ö½Ú£¬²»¹ÜÊÇ¿Õ¸ñ£¬»¹ÊÇ»»Ðж¼»áÓ°ÏìjavascriptÎļþµÄÏÂÔØʱ¼ä£¬ËùÒÔÔÚ²¿ÊðÈκÎjavascriptÎļþ֮ǰ£¬¶¼Ó¦¸Ã¾¡¿ÉÄܵØÓÅ»¯½Å±¾ÎļþµÄÌå»ý¡£ÒÔÏÂÊÇһЩ³£ÓõÄÓÅ»¯javascriptÎļþ´óСµÄ·½·¨£º
1¡¢É¾³ý×¢ÊÍ
½Å±¾ÖеÄÈκÎ×¢ÊͶ¼Ó¦¸ÃÔÚ²¿Êð֮ǰ±»É¾³ý¡£ËäÈ»×¢ÊͶÔÓÚ¿ª·¢ÈËÔ±À´ËµÒâÒåÖش󣬵«ÔÚ²¿ÊðʱÕâЩעÊͶԿͻ§¶ËÓû§ÊÇûÓÐÈκÎʵÖÊÒâÒåµÄ£¬¶ø¸ü¿ÉŵÄ
ÊǺܶàjavascriptÔ´´úÂëÖеÄ×¢ÊÍ»á±È´úÂë¶àµÃ¶à¡£Òò´Ëɾ³ý×¢ÊÍÊÇËù¼ûjavascriptÎļþ´óС×îΪ·½±ãÓÐЧµÄ;¾¶¡£
2¡¢É¾³ýÖƱí·ûºÍ¿Õ¸ñ
ÓÖ¹æÂɵØËõ½ø´úÂëÓÐÔöÇ¿´úÂëµÄ¿ÉÔĶÁÐÔ£¬µ«ÊÇä¯ÀÀÆ÷/¿Í»§¶ËÓû§²¢²»ÐèÒªÕâЩ¶îÍâµÄÖƱí·ûºÍ¿É¸ö£¬ËùÒÔ×îºÃɾ³ýËüÃÇ£¬°üÀ¨º¯Êý²ÎÊý£¬¸³ÖµÓï¾äºÍ±È½Ï²Ù×÷·ûÖ®¼äµÄ¿Õ¸ñ£º
function doSomething ( arg1, arg2, arg3 ){
¡¡alert(arg1 + arg2 + arg3);
}
function doSomething(arg1,arg2,arg3){alert(arg1+arg2+arg3);}3¡¢É¾³ýËùÓл»ÐÐ
ºÍÇ°Ò»Ìõ¹æÔòÒ»Ñù£¬Ö»ÒªÄãÔÚ³ÌÐòµÄÿÐнáβ¶¼ÕýÈ·µØÌí¼ÓÁ˷ֺţ¬ÄÇô¾Í²»ÐèÒªÔÙÌí¼Ó»»ÐзûÁË¡£
4¡¢Ìæ»»±äÁ¿Ãû
´Ë·½·¨ºÜÎÞÁÄ£¬´óÖÂ×ö·¨¾ÍÊǽ«ËùÓбäÁ¿ÃûÌæ»»³ÉÎÞÒâÒåµÄ¼ò¶Ì±äÁ¿Ãû
ÒªÊÖ¶¯µØÍê³ÉÒÔÉÏËIJ½£¬ÔÚʵ¼ÊÖпÉÄÜ»áÓÐÒ»¶¨µÄÄѶȣ¬ÄÇôÏÂÃæµÄһЩÁ´½Ó¿ÉÄܶÔÄãÓÐËù°ïÖú¡£
ECMAScript Cruncher£ºhttp://saltstorm.net/depo/esc/
JSMin£¨The JavaScript Minifier£©: http://www.crockford.com/javascript/jsmin.html
Online


Ïà¹ØÎĵµ£º

ÒÔ°ÑjavaScriptǶÈëµ½swfÀïÁË


[ÐÂÎÅ×ÊѶ] ¿ÉÒÔ°ÑjavaScriptǶÈëµ½swfÀïÁË
×ÊѶÀàÐÍ: ·­Òë
À´Ô´Ò³Ãæ: http://www.kennybunch.com/blog/2009/09/embedding-javascript-into-a-swf/
×ÊѶԭ±êÌâ: Embedding JavaScript into a SWF
×ÊѶԭ×÷Õß: Kenny Bunch
flex ¿ª·¢ÕßÓ¦¸Ã¶ÔʹÓÃEmbedÔªÊý¾Ý±êǩǶÈë¸÷ÖÖ×ÊÔ´¶¼ºÜÊìϤÁË£¬ÏÖÔÚÔÚflash cs4ÖÐͬÑù¿ÉÒ ......

javascriptѧϰÐĵÃ(2)

ÄÚ²¿Êý×é
ÔÚJavaÖÐΪÁË·½±ãÄÚ²¿¶ÔÏóµÄ²Ù×÷,¿ÉÒÔʹÓô°Ìå(Forms)¡¢¿ò¼Ü(Frames)¡¢ÔªËØ(element)¡¢Á´½Ó(links)ºÍê(Anchors)Êý×éʵÏÖ¶ÔÏóµÄ·ÃÎÊ¡£
¡¡anchors[]:ʹÓá¶A name=“anchorName“¡·±êʶÀ´½¨Á¢ÃªµÄÁ´½Ó¡£
¡¡links[]: ʹÓÃ<A href=”URL”>À´¶¨ÒåÒ»¸öÔ½Îı¾Á´½ÓÏî¡£
¡¡Forms[]: ÔÚ³ÌÐò ......

ÈýÖÖ²»Í¬Î»ÖõÄJavaScript´úÂëµÄд·¨

ÈýÖÖ²»Í¬Î»ÖõÄJavaScript´úÂëµÄд·¨
 ¿Í»§¶Ë½Å±¾JavaScriptÔÚд·¨ÉÏÆäʵÓкܶàÖÖ·½·¨£¬ËüÃǵķÅÖÃλÖÃÒ²·Ç³£Ö®¶à¡£¡£ ÏÂÃæÁоÙÔÚÈýÖÖ²»Í¬µÄµØ·½Ð´JavaScript´úÂ룬ʵÏÖµÄЧ¹û¶¼Êǵã»÷°´Å¥buttonµ¯³öalert¾¯¸æ¿ò
µÚÒ»ÖÖÊÇ×î³£¼ûµÄ£¬´úÂëÈçÏ html´úÂë
<input type="button" value="°´Å¥1" id=" ......

ÔÚUpdatepanelÖÐʹÓÃJAVASCRIPTµÄÎÊÌâ(ת)

ÔÚUpdatepanelÖÐʹÓÃJAVASCRIPTµÄÎÊÌâ
ÔÚUpdatePanle×ÜʹÓÃjavascriptÈ磺Response.Write("<script language='javascript'>alert('" + error.Message.ToString() + "');history.back(-1);</script>"); ʱ£¬µ¯³öÀ´Ò»¸öÌáʾ¶Ô»°¿ò
Sys.WebForms.PageRequestManagerParserErrorException:
The   message ......

Javascript±Õ°ü£¨Closure£©

±Õ°ü£¨closure£©ÊÇJavascriptÓïÑÔµÄÒ»¸öÄѵ㣬ҲÊÇËüµÄÌØÉ«£¬ºÜ¶à¸ß¼¶Ó¦Óö¼ÒªÒÀ¿¿±Õ°üʵÏÖ¡£
ÏÂÃæ¾ÍÊÇÎÒµÄѧϰ±Ê¼Ç£¬¶ÔÓÚJavascript³õѧÕßÓ¦¸ÃÊǺÜÓÐÓõġ£
Ò»¡¢±äÁ¿µÄ×÷ÓÃÓò
ÒªÀí½â±Õ°ü£¬Ê×ÏȱØÐëÀí½âJavascriptÌØÊâµÄ±äÁ¿×÷ÓÃÓò¡£
±äÁ¿µÄ×÷ÓÃÓòÎ޷ǾÍÊÇÁ½ÖÖ£ºÈ«¾Ö±äÁ¿ºÍ¾Ö²¿±äÁ¿¡£
JavascriptÓïÑÔµÄÌØÊâÖ®´¦£¬¾ÍÔÚÓ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ