<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE></TITLE>
</HEAD>
<BODY><INPUT type="button" value="Button" id=button1 name=button1 onclick="CLK()">
</BODY>
</HTML>
<SCRIPT language="JavaScript" type="text/JavaScript">
<!--
function CLK() {
var now = new Date();
var Month = now.getMonth()+1;
var Day = now.getDate();
if(Month==3 || Month==12) {
if(Day<=31 && Day>24) {
alert("现在是:" + Month + "月" + Day + "日");
}
} else if (Month==6 || Month==9) {
if(Day<=30 && Day>23) {
alert("现在是:" + Month + "月" + Day + "日");
}
} else {
alert("现在是:" + Month + "月" + Day + "日");
}
}
//-->
</SCRIPT>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE></TITLE>
</HEAD>
<BODY><INPUT type="button" value="Button" id=button1 name=button1 onclick="CLK()">
</BODY>
</HTML>
<SCRIPT language="JavaScript" type="text/JavaScript">
<!--
function CLK() {
var now = new Date();
var Month = now.getMonth()+1;
var Day = now.getDate();
if(Month==3 || Month==12) {
if(Day<=31 && Day>24) {
alert("现在是:" + Month + "月" + Day + "日");
}
} else if (Month==6 || Month==9) {
if(Day<=30 && Day>23) {
alert("现在是:" + Month + "月" + Day + "日");
}
} else {
alert("现在是:" + Month + "月" + Day + "日");
}
}
//-->
</SCRIPT>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货