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

javascript ʱ¼ä±È½ÏʵÏÖ´úÂë

web¿ª·¢ÖÐÓÐʱÐèÒª¶ÔÊäÈë¿òÖеÄʱ¼ä£¨Ö÷ÒªÊÇ¿ªÊ¼Ê±¼äºÍ½áÊøʱ¼ä£©½øÐбȽϣ¬ÍøÉÏËÑË÷ÁËÒ»·¬£¬·¢ÏÖÓв»ÉÙÊÇÎÞЧµÄ£¬ÒÔÏ·½·¨¾­Ð¡µÜ¼ìÑéȷʵÓÐЧ£¬Ìش˹²Ïí¡££¨Çë¹Ø×¢ºìÉ«²¿·Ö£©
function ValidtorTime(){
var d1 = new Date(document.getElementById('txbfromDate').value.replace(/\-/g, "\/"));
var d2 = new Date(document.getElementById('txbToDate').value.replace(/\-/g, "\/"));
if(d1>d2)
{
alert("½áÊøʱ¼ä±ØÐëÔÚ¿ªÊ¼Ê±¼äÖ®ºó!");
return false;
}
return true;
}


Ïà¹ØÎĵµ£º

¡¶JavaScriptºËÐļ¼Êõ¡·

JavaScriptÖеÄÔ­ÐÍ(prototyping)   prototypeÊôÐÔ
   
1.¶ÔÄÚÖöÔÏóµÄÀ©Õ¹
        (StringÌí¼Ótrim()·½·¨)
        ****************
        String.prototype.trim = funct ......

ÈçºÎÔÚJavaScript·ÃÎÊC#º¯Êý?


1.ÈçºÎÔÚJavaScript·ÃÎÊC#º¯Êý?
ÎÊÌâ1´ð°¸ÈçÏ£º
javaScriptº¯ÊýÖÐÖ´ÐÐC#´úÂëÖеĺ¯Êý£º
·½·¨Ò»£º1¡¢Ê×ÏȽ¨Á¢Ò»¸ö°´Å¥£¬ÔÚºǫ́½«µ÷Óûò´¦ÀíµÄÄÚÈÝдÈëbutton_clickÖÐ;
          2¡¢ÔÚǰ̨дһ¸öjsº¯Êý£¬ÄÚÈÝΪdocument.getElementById("btn1").click();
   ......

10¸ö·Ç³£°ôµÄAjax¼°JavascriptʵÀý×ÊÔ´ÍøÕ¾

1.Ajax Rain
¡¡¡¡AjaxRainÓкܶàÍêÃÀÕûºÏAJAX, CSS, DHTML »ò JavascriptµÄʵÀý£¬ÓÐһЩDemoµÄÈ·ÖµµÃÄãÈ¥¿´Ò»¿´£¬¼´Ê¹Äã²»ÊÇÍøÒ³Éè¼Æ(¿ª·¢)ʦ¡£
Ajax/JavascriptʵÀý:
 EXT JS Date Picker
 jQuery Feed Menu
 jGrowl
 FastFind Menu – Jquery
 Spiffy Accordion
2.Ajax Daddy
¡¡¡ ......

JavaScriptÖÐthis¹Ø¼ü×ÖʹÓ÷½·¨Ïê½â

ÔÚÃæÏò¶ÔÏó±à³ÌÓïÑÔÖУ¬¶ÔÓÚthis¹Ø¼ü×ÖÎÒÃÇÊǷdz£ÊìϤµÄ¡£±ÈÈçC++¡¢C#ºÍJavaµÈ¶¼ÌṩÁËÕâ¸ö¹Ø¼ü×Ö£¬ËäÈ»ÔÚ¿ªÊ¼Ñ§Ï°µÄʱºò¾õµÃ±È½ÏÄÑ£¬µ«Ö»ÒªÀí½âÁË£¬ÓÃÆðÀ´ÊǷdz£·½±ãºÍÒâÒåÈ·¶¨µÄ¡£JavaScriptÒ²ÌṩÁËÕâ¸öthis¹Ø¼ü×Ö£¬²»¹ýÓÃÆðÀ´¾Í±È¾­µäOOÓïÑÔÖÐÒª"»ìÂÒ"µÄ¶àÁË¡£
ÏÂÃæ¾ÍÀ´¿´¿´£¬ÔÚJavaScriptÖи÷ÖÖthisµÄʹÓ÷½·¨ÓÐʲô ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ