JavaScript³ÌÐòÔÝÍ£ÎÊÌâ - Web ¿ª·¢ / JavaScript
ÎÒÏÖÔÚÏëÖªµÀJavaScript
ÓÐûÓпÉÄÜʵÏÖ
ÔÚÒ»¸öforÑ»·ÖÐ
¿ØÖÆÿ¼¸ÃëÔËÐÐÒ»´Î
±ÈÈçÔËÐÐÍêÒ»´ÎÈ»ºóµÈ¼¸ÃëÔÙÔËÐеڶþ´Î£¿£¿£¿
¹òÇó¸ßÈËÖ¸µã£¡£¡£¡£¡
Ò»ÇнÔÓпÉÄÜ....
setTimeout
Ò»ÇнÔÓпÉÄÜ....
Ïà¹ØÎÊ´ð£º
ÎÒÔÚºǫ́µ÷ÓÃJavaScriptµÄʱºò£¬ËûÊÇÔÚºǫ́°ÑʼþµÄ´úÂëÖ´ÐÐÒ»´ÎºóÔÚÖ´ÐÐJavaScript·½·¨
ÓÐʲô°ì·¨ ÔÚÖ´ÐÐJavaScript·½·¨µÄʱºòͣס£¬ÔÚÖ´ÐкóÃæµÄ´úÂë
²»Ì«Ã÷°×°¡£¬ËµÇå³þµã°É
¾ÍÊÇÖ´Ðкǫ́´úÂëµÄʱºò ......
Èý¸öÊýx,y,z ±È´óС..
var x,y,z,t;
if (x>y)
{t=x;x=y;y=t;} //½»»»x,yµÄÖµ
if(x>z)
{t=z;z=x;x=t;}//½»»»x,zµÄÖµ
if(y>z)
{t=y;y=z;z=t;}//½»»»z,yµÄÖµ
ÕâÊÇ ......
²úÆ·µÄÅäÖÃÒ³Ãæ¹²ÓÃÒ»¸öÓÃJavaScriptµÄdTreeʵÏÖµÄÊ÷Ðνṹ£¬ÏÔʾµÄʱºò£¬Ê÷Ðνṹ¿¿ÔÚÒ³ÃæµÄ×î×ó±ß£¬¸úÎÒµÄÅäÖÃÒ³ÃæÖмä¸ôÁËÒ»´ó¿é£¬ÏÖÔÚÏë°ÑÊ÷ÐÎĿ¼¾ÓÖУ¬½ô¿¿ÔÚÅäÖÃÄÚÈÝÅԱߣ¬ÈçºÎ¿ØÖÆÊ÷ÐÎĿ¼µÄλÖã¬ÒÔ¼°¿É²»¿ ......
ÇóÒ»¸öjavascript½Å±¾..
µ±µã»÷Õâ¸ö<a>Ìí¼Ó¸½½ü</a>Á´½Óʱ¾Í»áÌí¼Ó¶àÒ»ÐÐÉÏ´«¿òºÍ°´Å¥,ºÍ×îºóÒ»¸öÅԱ߻áÏÔʾ"È¡Ïû"µÄÁ´½Ó,µã»÷Õâ¸öÈ¡Ïû¾Í»áÈ¥µô×îºóÒ»ÐÐ,Ò»¸öÕâ¸ö½Å±¾Ôõôд?Íò·Öлл..
Ò ......
ÎÒͨ¹ýAjax´Óºǫ́»ñÈ¡µ½Êý¾Ý£¬È»ºóͨ¹ýjson´«µÝµ½JavaScriptÀïÃæ
֮ǰÓÉÓÚûÓÐÉèÖñàÂë¸ñʽ£¬µ±ÓÐÖÐÎĵÄʱºò»áÏÖʵÂÒÂë¡£
ºóÀ´ÎÒÔÚresponseÀïÃæÉèÖÃÁËutf-8µÄ±àÂëºó£¬ÄÜÕý³£µÄ»ñÈ¡µ½ÖÐÎÄ
µ«ÊÇÎÒÔÚÓôӺǫ́»ñÈ¡µ½µ ......