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

javascript¿çÓò·ÃÎÊ·½Ê½

     Õ⼸ÌìÔÚÊÔÓÃÌÔ±¦µÄopen api¹¦ÄÜ£¬¿´ÁËËüµÄʵÀýÓÐphp¡¢java¡¢c#¡¢ruby£¬¿Éϧ¶¼ÊÇ·þÎñÆ÷¶ËÀý×Ó£¬¾ÍͻȻÓÐÁËÏë·¨£¬ÊDz»ÊÇ¿ÉÒÔÓÃjavascriptдһ¸ö¿Í»§¶ËµÄÀý×Ó¡£ÌÔ±¦open apiËäÈ»ÆäËüµØ·½×öµÄ²»ÊǺÜÈËÐÔ»¯£¬µ«ÊÇ»¹ÌṩÁËÒ»¸öα´úÂëµÄÀý×Ó£¬¼ÈÈ»ÕâÑù£¬Ëµ¸É¾Í¸É¡£ËµÊµ»°£¬ÒÔÇ°´ÓÀ´Ã»ÓÐд¹ýjavascript´úÂ룬²»¹ýÓÐÍøÂçÒ²²»ÊÇʲô´óÎÊÌ⣬ÒÀ¿¿w3schoolºÍ°Ù¶È»ù±¾ÉÏ»¨ÁËÒ»¸öСʱ¾ÍÍê³ÉÁË£¬ÔÚdreamweaverÉÏÃæʹÓÓʵʱÊÓͼ”£¬¿´½á¹ûҲûÓÐÎÊÌ⣬¿ÉÊÇÒ»µ©ÓÃfirefox»òÕßie´ò¿ª£¬¾Í²»ÐÐÁË£¬»ñÈ¡²»ÁËÌÔ±¦apiµØÖ·ÌṩµÄjson»òÕßxmlÊý¾Ý£¬¸Õ¿ªÊ¼ÎÒ»¹ÒÔΪÊDZàÂëµÄÎÊÌ⣬xmlhttprequestµÄ´¦ÀíдµÄÓÐÎ󣬵«ÊǸÄÁ˺ܶ࣬ÎÊÌâÒÀ¾É£¬ºÜÊÇÄջ𣬾Í×Ðϸ¿´ÁËxmlhttprequestµÄ˵Ã÷£¬ºóÀ´²Å»ÐÈ»´óÎò£ºjavascriptÊDz»ÄÜ¿çÓò·ÃÎÊ·þÎñÆ÷µÄ¡£¿´À´²»×öÇ°¶Ë¿ª·¢¾Í»áºÜ¶à»ù´¡ÎÊÌⶼ²»¶®°¡£¡
     ÄÇôÔõô½â¾öÄØ£¿°Ù¶ÈgoogleÁ˺ܶ࿴µ½¿ÉÐв¢ÊÔÑé¹ýµÄ½â¾ö°ì·¨ÓУº
     1. ÔÚ·þÎñÆ÷¶Ë¼ÜÉè´úÀí£¬ÓÃphp»òÕß±ðµÄÓïÑÔдһ¸öproxyº¯Êý£¬Í¨¹ýÕâ¸öº¯ÊýÍê³É¶ÔµÚÈý·½ÓòÃûµÄÊý¾ÝÇëÇó£¬Õâ¸ö°ì·¨ºÍÎÒ×ʼµÄ´¿javascript·½°¸³åÍ»£¬Ã»ÓÐÑ¡Ôñ£¬²»¹ýµÄÈ·¿ÉÓÃ
     2. ²ÉÓÃjavascript¶¯Ì¬×ÊÔ´ÔØÈëµÄ°ì·¨£¬¾ÍÊÇͨ¹ýjavascript¶¯Ì¬´´½¨Ò»¸öDom scriptÔªËØ£ºcreateElement()£¬È»ºóÉèÖøÃscriptÔªËصÄsrcµØÖ·ÊÇÄãÏë¿çÓòÇëÇóÊý¾ÝµÄurl£¬ÕâÑùµÚÈý·½ÓòÃûµÄÊý¾Ý¾Í¿ÉÒÔ±»ÔØÈë½øÀ´ÁË£¬µ«ÊÇÓÐÒ»¸öȱµã¾ÍÊÇ£¬µÚÈý·½ÓòÃûµÄÊý¾Ý±ØÐëÊÇÕýÈ·µÄjavascript¸ñʽÊý¾Ý£¨±ÈÈçjsonÊý¾Ý£©£¬ÔÚYUIÉϵÄGET¹¤¾ß¾ÍÓÐÒ»¸ö·â×°ºÃµÄʵÏÖ£¬´ó¼Ò¿ÉÒÔ·ÅÐÄ¡¢¿ì½ÝµÄʹÓã¬×ʼÎÒÒ²ÊÇÏëÓÃÕâ¸ö°ì·¨£¬±Ï¾¹ÌÔ±¦open apiµÄÊý¾ÝÊÇÖ§³Öjson¸ñʽµÄ£¬µ«ÊÇÔÚʵ¼Ê¹ý³ÌÖÐÓÖÃæÁÙÕâÑùµÄÎÊÌ⣺ÌÔ±¦open api·µ»ØµÄjsonÊý×飬ÊÇûÓж¨Òå±äÁ¿ÃûµÄ£¬¶øÕâÑùµÄjosonÊý×éÔÚjavascriptÊÇ·Ç·¨µÄ£¬Òò´ËÈÎÈ»µÃ²»µ½µ÷Óã¬Õâ¸ö°ì·¨Ê§°Ü£¬µ«ÊÇÕâÊÇÒ»¸öºÜºÃµÄ°ì·¨£¬µ½Ê±ºò¿ÉÒÔÔÚÊý¾Ýͳ¼Æjs´úÂëÉÏ×öһЩÎÄÕ£¬±ÈÈç˵½øÐÐÓû§µ÷²éµÈ
     3. ²ÉÓÃiframeµÄ°ì·¨£¬·½·¨ºÍ·½·¨2±È½ÏÀàËÆ£¬Ò²ÊÇͨ¹ýjavascript¶¯Ì¬´´½¨Ò»¸öDom iframeÔªËØ£¬È»ºóÉèÖÃiframeÔªËصĵØÖ·ÊÇÄãÏë¿çÓòÇëÇóµÄÊý¾ÝµÄurl£¬È»ºóͨ¹ýjavascript»ñÈ¡iframeÔªËصÄ<pre>±êÇ©ÀïÃæµÄÄÚÈݾÍÊÇÄãÏëÒªµÃµ½µÄ¿çÓòÊý¾ÝÁË¡£Õâ¸ö°ì·¨µÄȱµã¾ÍÊÇä¯ÀÀÆ÷»º´æÑÏÖØ£¬Èç¹ûͬһ¸öurlµÄÊý¾Ý±ä»¯Æ


Ïà¹ØÎĵµ£º

javascript¿ò¼ÜÖ®¼Ì³Ð»úÖÆ

´óÒ»µãµÄ¿ò¼Ü¶¼ÓÐÕâ¸ö¶«Î÷¡£PrototypeÔ­À´µÄ¼Ì³Ð»úÖƷdz£Èõ£¬ÎªÁËÓëmootools¶Ô¿¹Ò²Ç¿»¯ÁËÕâÒ»·½Ãæ¡£ÂҪÓÃÔ­Ðͼ̳ÐÀ´Ä£·ÂÀà¼Ì³Ð£¬¶¼»ù±¾´æÔÚÒ»¸ö¿Ë¡º¯Êý¡£°Ñ¸¸ÀàµÄÔ­ÐÍÊôÐÔ¸´ÖƵ½×ÓÀàÉÏÈ¥¡£ÀíÄîµÄ¶«Î÷ÔÝʱÕâô¶à£¬¶¯ÊÖʵ¼ùÒ»ÏÂ×îʵ¼Ê¡£ÎÒÃÇÉè¼ÆÒ»¸öÊý×éÀ࣬ӵÓÐÔ­ÉúÊý×éµÄÄÜÁ¦ÓëÐÂÀ©Õ¹µÄÄÜÁ¦¡£

var isNumber ......

C#´úÂëÓëjavaScriptº¯ÊýµÄÏ໥µ÷ÓÃ


C#´úÂëÓëjavaScriptº¯ÊýµÄÏ໥µ÷ÓÃ
ÎÊ£º
1.ÈçºÎÔÚJavaScript·ÃÎÊC#º¯Êý?
2.ÈçºÎÔÚJavaScript·ÃÎÊC#±äÁ¿?
3.ÈçºÎÔÚC#ÖзÃÎÊJavaScriptµÄÒÑÓбäÁ¿?
4.ÈçºÎÔÚC#ÖзÃÎÊJavaScriptº¯Êý?
ÎÊÌâ1´ð°¸ÈçÏ£º
javaScriptº¯ÊýÖÐÖ´ÐÐC#´úÂëÖеĺ¯Êý£º
·½·¨Ò»£º1¡¢Ê×ÏȽ¨Á¢Ò»¸ö°´Å¥£¬ÔÚºǫ́½«µ÷Óûò´¦ÀíµÄÄÚÈÝдÈëbutton_click ......

javascriptÖеÄ×Ö·û´®Ç¶Ì×

 ÔÚJavaScriptÖÐ×Ö·û´®ÊÇÓÃÒýºÅ“" "”¡¢“' '”°üÆðÀ´µÄÁã¸öÖÁ¶à¸ö×Ö·û¡£ÓÃÄĸöÒýºÅ¿ªÊ¼¾ÍÓÃÄĸö½áÊø£¬¶øÇÒµ¥Ë«ÒýºÅ¿ÉǶÌ×ʹÓ㬲»¹ýJavaScript ÖÐÒýºÅµÄǶÌ×Ö»ÄÜÓÐÒ»²ã¡£Èç¹ûÏëÔÙ¶àǶһЩ£¬ÐèÒªÓÃתÒå×Ö·û£º
תÒå×Ö·û ÓÉÓÚһЩ×Ö·ûÔÚÆÁÄ»Éϲ»ÄÜÏÔʾ£¬»òÕß JavaScript Óï·¨ÉÏÒѾ­ÓÐÁËÌØÊâÓÃ;£¬ ......

ÔÚjavascriptÎļþÖÐʹÓÃjstl±êÇ©

½ñÌì¿´µ½Í¬ÊÂharry_duanдµÄÒ»¸öjsÎļþ£¬¸Ð¾õͦÓÐÒâ˼¡£
Ä¿µØÊÇÔÚjsÎļþÖÐʹÓÃjstlµÄfmt:message
1.ÔÚ×ÊÔ´ÎļþÖж¨ÒåÏûÏ¢ errors.message1=error xxxxxx
2.´´½¨Ò»¸öjsÎļþ£¬ÎªÁËjstlÄÜÓ㬽«jsÎļþÃüÃûΪ myjs.js.jsp (ÒÔjsp½áβ)
js ´úÂë
 
<%@ page contentType="text/html; charset=utf-8 ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ