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

JavaScript µ¹¼ÇʱÆ÷

¿´¹ýÏã¸ÛºÍ°ÄÃŻعéµÄµ¹¼ÇʱÆ÷ûÓУ¬ÊDz»ÊÇÏë¸ø×Ô¼ºµÄ±È½ÏÓÐÒâÒåµÄÈÕ×ÓÒ»¸ö¼ÇʱÆ÷ÌáÐÑ×Ô¼º£¬JavaScript¸øÁËÎÒÃÇÕâ¸ö»ú»áȥʵÏÖÎÒÃǵÄÏë·¨£¬¿´¿´ÏÂÃæµÄÀý×Ó£º
ÔÚ<body>ºÍ</body>±êÇ©¼äÊäÈëÒÔÏ´úÂë
<SCRIPT LANGUAGE="JavaScript">
var urodz= new Date("December 25,2002");
var s="Ê¥µ®½Ú";
//»ñÈ¡µ±Ç°µÄÈÕÆÚ
var now = new Date();
//Ëã³öÀëÉ趨µÄÈÕÆÚµÄÏà²îʱ¼ä£¬ÒÔÃë¼ÆËã
var ile = urodz.getTime() - now.getTime();
//°ÑÃ뻯³ÉÊÇÒÔÌì¼ÆË㣬dni¼´ÊÇ´ú±íʣϵÄÌìÊý
var dni = Math.floor(ile / (1000 * 60 * 60 * 24));
if (dni > 1)
document.write("½ñÌìÀë"+s+"»¹ÓÐ"+dni +"Ìì")
else if (dni == 1)
document.write("Ö»ÓÐ2ÌìÀ²£¡")
else if (dni == 0)
document.write("Ö»ÓÐ1ÌìÀ²£¡")
else
document.write("ºÃÏóÒѾ­¹ýÁËŶ£¡");
</SCRIPT>
ÉÏÃæÔ´´úÂëÖбäÁ¿urodzÊÇÓÉNew Date(),¸³ÓèÒ»¸ö³õÖµ£¬Õâ¸ö³õÖµ¾ÍÊÇÐèÒªµ¹¼ÇʱµÄÈÕ×Ó£¬dniµÄÒâ˼ÊÇÏà²îµÄÈÕ×Ó(ÊÇͨ¹ýÒ»¶¨µÄÈÕ×ÓµÄËã·¨À´ÊµÏÖµÄ)¡£ÏÂÃæÈý¸öÅжÏÓï¾ä¸ø³öµ±ÈÕ×ÓÒªµ½µÄʱºòµÄÌáʾÐÅÏ¢¡£
ÏÂÃæÊÇÔËÐнá¹û£º


Ïà¹ØÎĵµ£º

javascriptЧÂʾ­Ñé̸(Ò»)

±¾ÎÄÖ÷ÒªÊdzöÓÚÓÐÅóÓÑʹÓÃÎÒÔ­À´Ð´µÄautocompleteµÄJS¿Ø¼þ¡£µ±Êý¾ÝÁ¿´óµÄʱºò£¬»á³öÏÖЧÂʼ«ÆäÂýµÄÇé¿ö£¬ÎÒÔÚÕâ¶Îʱ¼ä×ö³öµÄһЩ²âÊÔÒ²¼°Ò»Ð©¾­Ñ飬Óë´ó¼Ò·ÖÏí£¬Èç¹ûÓдíµÄµØ·½£¬»¹ÇëÖ¸³ö¡£
¾­¹ý²âÊÔ£¬ÎÒÃǻᷢÏÖÈçϵÄÇé¿ö»òÕß˵µÄ½áÂÛ£¬Èç¹ûÄúµÄ²âÊÔ½á¹ûÓëÎҵIJ»·û£¬Çë˵Ã÷Ô­Òò£¬ÒÔ±ãÏ໥ѧϰ¡£
1£©µ±Ò»¸ö½Ï´óµÄHTML×Ö· ......

JavaScriptѧϰ——ʼþ

     ÕâÁ½ÌìÉÏÎçÒ»Ö±ÔÚѧϰJavaScript£¬ÓÉÓÚ×ÜÊÇÔÚ¿´£¬Ð§¹û²»ÊǺܴó£¬Ò²ºÃ¾ÃûÓз¢±íÎÄÕÂÁË£¬ËùÒÔΪÁ˸üºÃµÄѧϰ£¬°Ñѧµ½µÄ¶«Î÷¼Ç¼ÏÂÀ´¡£ÎÒѧϰJavaScriptµÄÊéÊÇ¡¶¾«Í¨JavaScript+jQuery¡·£¬Èç¹û´ó¼ÒÓиüºÃµÄÊéÇëÍÆ¼ö¡£
Ò». ʼþµÄ¸ÅÄî
     C#ÖÐʼþµÄ¶¨Ò壺ʼþÀàËÆÓÚÒì³££¬Ë ......

15¸öJavaScript Web UI¿â

¡¡¡¡¼¸ºõËùÓеĸ» Web Ó¦Óö¼»ùÓÚÒ»¸ö»ò¶à¸ö Web UI ¿â»ò¿ò¼Ü£¬ÕâЩ UI ¿âÓë¿ò¼Ü¼«´óµØ¼ò»¯ÁË¿ª·¢½ø³Ì£¬²¢´øÀ´Ò»Ö£¬¿É¿¿£¬ÒÔ¼°¸ß¶È½»»¥ÐÔµÄÓû§½çÃæ¡£±¾ÎĽéÉÜÁË15 ¸ö·Ç³£Ç¿´óµÄ JavaScript Web UI ¿â£¬·Ç³£Êʺϸ÷ÖÖ¸÷ÖÖ¹æÄ£µÄ¸» Web Ó¦ÓõĿª·¢¡£
¡¡¡¡LivePipe
¡¡¡¡LivePipe UI »ùÓÚ Prototype Javascript ¿ò¼Ü£¬°üº¬ÁË ......

Cookies½ÒÃØ [Asp.Net, Javascript]

Ò»£¬Ç°ÑÔ
CookiesÏë±ØËùÓÐÈ˶¼Á˽⣬ µ«ÊÇδ±ØËùÓÐÈ˶¼¾«Í¨¡£±¾ÎĽ²½âÁËCookiesµÄ¸÷·½ÃæÖªÊ¶£¬ ²¢ÇÒÌá³öÀ´ÁË×î¼Ñʵ¼ù¡£ÕâÊDZÊÕßÔÚÈÕ³£¹¤×÷ÖеĻýÀۺͳÁµí¡£
¶þ£¬»ù´¡ÖªÊ¶
1.ʲôÊÇCookies
Cookie ÊÇһС¶ÎÎı¾ÐÅÏ¢£¬°éËæ×ÅÓû§ÇëÇóºÍÒ³ÃæÔÚ Web ·þÎñÆ÷ºÍä¯ÀÀÆ÷Ö®¼ä´«µÝ¡£Cookie °üº¬Ã¿´ÎÓû§·ÃÎÊÕ¾µãʱ Web Ó¦ÓóÌÐò¶¼¿ ......

JavaScriptѧϰ±Ê¼Ç£¨¶þ£©

1.ECMAScriptµÄ»ù´¡¸ÅÄîÈçÏ£º
Çø·Ö´óСд
±äÁ¿Ê±ÈõÀàÐ͵Ä
ÿÐнáβµÄ·ÖºÅ¿ÉÓпÉÎÞ
×¢ÊÍÓëJava¡¢CºÍPHPÓïÑÔÏàͬ
»¨À¨ºÅ±íÃ÷´úÂë¿é
2.ÓëPython²»Í¬£¬ECMAScriptÖеıäÁ¿²»Ò»¶¨Òª³õʼ»¯£¬È磺
      var test;   //ÕýÈ·
3.±äÁ¿ÃûÐèÒª×ñÊØÁ½Ìõ¼òµ¥µÄ¹æÔò£º
µÚÒ»¸ö×Ö·û±ØÐëÊÇ×Öĸ¡ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ