Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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ÑéÖ¤ÊäÈë¿òÖеÄÖµÊÇ·ñΪÈÕÆÚ¸ñʽ

1¡¢ÅжÏÊÇ·ñΪÄêÔÂÈÕʱ¼ä¸ñʽ
<script>
//È¥³ý×Ö·û´®Ê×β¿Õ¸ñ
String.prototype.trim = function()
{
    return this.replace(/(^\s*)|(\s*$)/g, "");
}
//ÑéÖ¤ÊÇ·ñΪÈÕÆÚ
function validator(){ 
    if(isDate(document.all.demo1.value.trim())==false){
 &n ......

javascript²Ù×÷XmlÔöɾ¸Ä²é(IEÏÂ)

HTMLÎļþ£º
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>js²Ù×÷XmlÔöɾ¸Ä²é(IEÏÂ)</title>
<script type="text/jav ......

´¿JavaScriptµÄ½¥¿ªÊ½»ÃµÆƬ

html£º
<div id="slide-box">      
    <div id="slide">
      <div id="fbshutter" style="width:1px;">
        <img id="bPic" src="images/01.gif" />  </div>
  ......

JavaScript¿ØÖÆCheckBoxListµ¥Ñ¡Á½ÖÖ·½·¨

·½·¨1£º
 1function   CheckSelect()
 2 {  
 3    var tb = document.getElementById("ctl00_ContentPlaceHolder1_chkYear"); 
 4
 5    for(var i=0;i < tb.rows.length;i+ ......

Javascript±Õ°ü£¨Closure£©

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