Calendar 日期型控件的使用.
我想在按扭事件onclick="tj()" 中得到 Calendar 里选中的日期.就是说在Form1.Calendar1.value;里有问题,我不知道怎么写. 求大家帮助.
<form id="Form1" method="post" runat="server">
<script language="javascript"> function tj()
{
Form1.TextBox1.value = Form1.Calendar1.value;
                  document.getElementById('Calendar1').style.display='none';
}

</script>
<asp:TextBox id="TextBox1" runat="server"></asp:TextBox>
<asp:Calendar id="Calendar1" runat="server"></asp:Calendar>
<INPUT onclick="tj()" type="button" value="Button">
</form>