网页上显示日历(js)
<head runat="server">
<title></title>
<%-- 用JS/connotation.js方法时要在下面写两段代码,并且在文本框下要有一个层用来放日历--%>
<script src="JS/connotation.js" type="text/javascript"></script>
<script type="text/javascript">
var s = new Calendar('s');
document.write(s);
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<input type="text" onclick="s.showMoreDay=true;s.show(this)" />
<asp:TextBox ID="TextBox1" runat="server" onfocus="s.showMoreDay=true;s.show(this)"></asp:TextBox>
<div style="height:260px">
</div>
</div>