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

¹ØÓÚjavascriptµÄÀí½â

JScript code:

var obj ={
yes : function() {this.val = true;},
no : funciton (){this.val = false;}
}


Ò»Ö²»ÊǺÜÀí½âÕâ¾ä»°£¬²»ÖªµÀÕâÀïµÄyesºÍnoÔõôÀí½â¡£
http://www.cnblogs.com/eastday/archive/2010/03/04/1678477.html

var a=new obj.yes();
alert(a.val);

obj ¿ÉÒÔ¿´³ÉÒ»¸ö¶ÔÏó£¬yes»òÕßno¿ÉÒÔ¿´³ÉËüµÄ·½·¨

yes,noÊÇobjµÄÁ½¸öÊôÐÔ

ÕâÁ½¸öÊôÐÔ¶¼ÊÇ·½·¨


Ïà¹ØÎÊ´ð£º

javascriptÖÐÊÇÖµÊÇÔõô½»»»ÁË£¿ - Java / JavaÏà¹Ø

Èý¸öÊý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ÎÊÌâ,,ºÜ¼± - Web ¿ª·¢ / JavaScript

ÓÃjavascript½«Êý¾Ýµ¼³öµ½Îı¾Îļþ(txt)ÖÐ..
Ê×ÏȼÙÉèÒѾ­ÓÐÁËÐèҪдÈëµÄÎı¾ÄÚÈÝ var txtContent ="ÐèҪдÈëµÄÄÚÈÝ";
ÏÖÔÚÐèÒªÓÃjavascript½«ÄÚÈÝдÈëtxtÎļþ(Õâ¸ötxtÎļþ²»´æÔÚ,ÐèÒª´´½¨)ÖÐ,È»ºóдºÃÖ ......

javascriptʵÏÖÁбíĿ¼ - Web ¿ª·¢ / JavaScript

ÎÒÏëÎÊÒ»ÏÂÈçºÎÓÃjavascript¶¯Ì¬ÊµÏÖÏñÎÒÃÇÕâ¸öÍøÕ¾×ó±ßµÄĿ¼£¬Ð»À²£¡
??


ºÇºÇ£¡Ð»Ð»°¡£¡

¶¥Ò»ÏÂ

ÄãÃÇÊÇʲôÍøÕ¾°¡£¬ÒªÊǺǫ́ÊÇjavaÖ±½Ójsp£¬Èç¹ûºǫ́ÊÇc£¬ÄǾÍÓÃcgiÉú³Éxml£¬js¶¯Ì¬È¥¶ÁxmlµÄÊý¾Ý

Ó ......

Ȥζjavascript... - Web ¿ª·¢ / JavaScript

ÎÒÒ²À´Ò»¸öȤζjavascript:
´ò¿ªÒÔÏÂhtmlÎļþ,ÒÀ´Î°´ÏÂG,L,CÈý¸ö¼ü,¾Í»áÓÐÆæ¼£³öÏÖ!!
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" ......

JavaScript¿ÉÒÔ±»±£»¤ÆðÀ´Â𣿠- Web ¿ª·¢ / ·Ç¼¼ÊõÇø

Èç¹û²»ÄÜ £¬ÄÇôWebOS²»ÊÇûÓÐǰ;£¿ ±ðÈ˵ijɹûºÜ¿ì¾Í±»¹²ÏíÁË£¿ÄÇ»¹ÓÐË­Ô¸Ò⿪·¢°¡£¿
Îʵĺã¡ÄãÈ¥ÎÊÒ»ÎÊ¿ªÔ´Èí¼þΪʲôҪ¿ªÔ´

ÎÒµ¹²»¾õµÃÎÒ¿´ÁËlinuxÔ´Âë¾ÍÄÜдһ¸ölinux³öÀ´£¬¹þ¹þ

ºÇºÇ,׬ǮµÄģʽ²»Ò»Ñù ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ