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

javaScript±È½ÏÁ½¸öÈÕÆڵĴóС

    ÎÒÏÖÔÚÒ³ÃæʹÓõÄÊÇÒ»¸ö¿Ø¼þ¹©Óû§È¥Ñ¡ÔñÈÕÆÚ£¬Ñ¡ÔñºóµÄÖµµÄ¸ñʽÊÇ£º2009-10-20 14:38:40

Ò»¸ö¿ªÊ¼ÈÕÆÚ£¬Ò»¸ö½áÊøÈÕÆÚ£¬ÔõÑùÅжϿªÊ¼ÈÕÆÚ²»ÄÜ´óÓÚ½áÊøÈÕÆÚ?
 
    ´ó¼Ò°ïæ½â¾ö¹þ £¬Óе㼱~~~~
HTML code:

<script>
var st="2009-10-20 14:38:40"
var et="2009-10-20 15:38:40"
var stdt=new Date(st.replace("-","/"));
var etdt=new Date(et.replace("-","/"));
if(stdt>etdt) alert("¿ªÊ¼Ê±¼ä±ØÐëСÓÚ½áÊøʱ¼ä")
</script>



Ö§³ÖÂ¥ÉϵÄ
²»¹ýÈç¹ûʱ¼ä¸ñʽÒѾ­¹æ·¶ÁË£¬¾ÍÊÇÖ»ÓÐһλÊý×ֵģ¬Ç°Ãæ²¹0ÁË£¬Èç2009-08-02 06:15:03ÕâÑùµÄ£¬¾Í¿ÉÒÔÖ±½ÓÓÃ×Ö·û´®±È½Ï´óСÁË¡£

Ö±½Ó±È½Ï¡­¡­  ¾Í¿ÉÒÔÁË <script>
    var st="2009-10-20 14:38:40"
    var et="2009-10-20 15:38:40"
        if(st>et) alert("¿ªÊ¼Ê±¼ä±ØÐëСÓÚ½áÊøʱ¼ä")
</script>


ÒýÓÃ
HTML code <script>var st="2009-10-20 14:38:40"var et="2009-10-20 15:38:40"var stdt=new Date(st.replace("-","/"));var etdt=new Date(et.replace("-","/"));if(stdt>etdt) alert("¿ªÊ¼Ê±¼ä±ØÐëСÓÚ½áÊøʱ¼ä") </script>


Ïà¹ØÎÊ´ð£º

¹ØÓÚJavaScript´«µÝÊý¾ÝµÄÎÊÌ⣡

Õâ¸ö±íµ¥µÄÊýÖµ²»Êǹ̶¨µÄ£¡µ±°´ÏÂÍ£Ö¹°´Å¥µÄʱºò×îÖÕµÄÊý×ֲŻáÍ£ÔÚÉÏÃ棡
ÎÒÏë°Ñ×îºóͣϵÄÊý×Ö´«ËÍ´«Ë͵½ÏÂÒ»¸öASPÒ³ÃæÉÏÈ¥£¡
²»ÏëʹÓÃlocation.href="mnn.asp?action="+ok1ÕâÑùµÄ·½Ê½´«Ë͹ýÈ¥ ......

ActiveXºÍJavaScriptµÄ½»»¥ÎÊÌâ

    ÎÊÌâÃèÊöÈçÏ£º
    ÓÃC#¿ª·¢µÄActiveXǶÈëÍøÒ³ÖУ¬¸ÃActiveXÖÐÓÐÒ»¸ö°´Å¥button1.ÏÖÔÚҪʹµÃÓû§µ¥»÷ÁËbutton1ºóʵÏÖÒ³ÃæÌøתµÄ¹¦ÄÜ£¬¼´Óɵ±Ç°µÄ1.htmÌøתµ½2.htm¡£
    Î ......

javascriptÎÊÌ⣺

javascriptÎÊÌ⣺

var  win1000
var  win1001

¶¨ÒåºÃÁË2¸ö±äÁ¿£¬µ«ÊÇ 1000,¸ú1001ÎÒÊǶ¯Ì¬»ñÈ¡µÄ£¬Ç°ÃæÖ»ÓÐwinÊÇÒÑÖªµÄ£¬ÎÒÒªÔõôд²Å¿ÉÒÔʹÓÃÕâ¸ö±äÁ¿
L@_@K
JScript code:
var w ......

ÌÖÑáJavaScript£¬µ«ÓÖ²»µÃ²»È¥½Ó´¥

ÍøÉÏ¿´¹ýºÜ¶àÈËÃÔÉÏÁËJavaScriptÖ®ÀàµÄÑÔÓ¿ÉÄÜËûÃDZÈÎÒ¸üÁ˽âJavaScriptµÄÔµ¹Ê°É¡­¡­

ÎÒÊÇJ2EEÕóÓªµÄ£¬ÃÔÉÏÁËJava,ÒòΪÎÒ×îÁ˽âµÄÊÇj2ee,Ôø¾­ÃÎÏëµ½Sun¹¤×÷——£¨ÃÎÏëÆÆÃðµÄÍ´¿à£©

ÿ´ÎÍ ......

ÈçºÎÓÃJAVASCRIPTÌí¼Ó±êÇ©£¿

<html>

<head>

<title> </title>
<script language="javascript">
    var initTop=document.body.offsetHeight;
    fun ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ