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

ÃÀÃîµÄJavascript - À©³ä»°Ìâ / ³ÌÐòÈËÉú

È¥³ýÊý×éÖеÄÖظ´ÔªËØ£¬JS´úÂ룺

JScript code:
Array.prototype.removeDupl = function() {
var len = this.length;
var tmpAry = [];
loop1: while (len--) {
var tmpE = this.shift();
loop2: for ( var i in tmpAry) {
if (tmpAry[i] === tmpE) {
continue loop1;
}
}
tmpAry.push(tmpE);
}
return tmpAry;
};


×òÌìÃæÊÔ¸öÈËдµÄ£¬ºÇºÇ£¬ÆäʵJavaScriptÓïÑÔºÜÓÅÃÀºÜÇ¿´óµÄ¡£¡£¡£
¶¥£¬js»¹¿ÉÒÔÕâôд

ÈÃÎÒдֻÄÜÊÇC#ʽµÄjsÓï¾ä.ѧÒÕ²»¾«°¡¡£



¼¼ÊõÌù¡£

js×î·³ÁË£¬Ò»µã¶¼²»ÑϽ÷£¬µ«ÊÇÎÒÈ´ÒªÃæ¶ÔËû

¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£

±È½Ï·±Ëö





ÎÒÌÖÑáJS

JSÆäʵÊǺܲ»´íµÄÓïÑÔ£¬ÌÖÑáֻ˵Ã÷²»¹»Á˽⡣

JSÀõÄÒ»ËúºýÍ¿µÄÈ˺¦ÐßµÄÆ®¹ý

ºÜÇ¿´ó¡£
GotoÓï¾ä£¬ÏÖÔÚѧJSµÄÈË£¬»ù±¾É϶¼²»ÖªµÀ¡£
¿´À´ÄãÃæÊÔ¸öÅ£ÈË¡£

½áÌûÂÊ£º0.00%


Ïà¹ØÎÊ´ð£º

JavascriptÃèµãÎÊÌâ - Web ¿ª·¢ / JavaScript

ÓÃjavascript¼ÓÔØÒ³ÃæʱָÏòÒ»¸öÃèµã¡£ÒÑÖªÈçºÎͨ¹ýÁ´½Ó×ö³ÉÃèµãµÄ£¬¿ÉÊÇÏëÈÃÒ³Ãæ¼ÓÔØʱֱ½ÓÖ¸Ïò²»ÐèÒªµã»÷Á´½Ó¡£
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" &quo ......

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

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


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

¶¥Ò»ÏÂ

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

Ó ......

JavaScript½Ù³Ö - Web ¿ª·¢ / JavaScript

ÎÒÔÚheadÖÐдÁËÏÂÃæµÃ´úÂë,Ïë½Ù³Öalertº¯Êý£¬¿ÉÊDz»ÖªµÀΪʲô£¬½«Õâ¸öhtml´ò¿ªÊ±£¬µ¯³öÁ½¸ö¿ò¶¼ÊÇÄÚÈݶ¼ÊÇab£¬ÎÒÒѾ­½Ù³ÖÁËÕâ¸öº¯Êý£¬ÎªÊ²Ã´Ã»ÓÐЧÄØ£¿
ÎÒÔÚÏÂÃ涨Òå¸öbuttonÔÚonclickʼþÖÐÌí¼Ó´úÂëalert£¨¡°ab¡± ......

JavaScript³£ÓÃÑéÖ¤ - Web ¿ª·¢ / JavaScript

ÇëÎÊÔÚjsÖÐͨ¹ýÄĸö·½·¨µ÷ÓÃÕýÔò±í´ïʽ×öÑéÖ¤ÄØ?
1.±ÈÈçÎÒÏÖÔÚÏë×öÒ»¸ö·Ç¿ÕÑéÖ¤
function check() {
  var str = document.myform.txtUser.value;
  //È¡µ½valueÒÔºó½ÓÏÂÀ´ÈçºÎÓÃÕýÔò±í´ïʽÑéÖ¤ÄØ? ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ