请高手近来帮偶解决这个小问题!感激不尽!
在ParentForm.aspx页面中有一个TextBox(ID:ParentText)和一个Button(ID:ParentButton);
在ChildForm.aspx页面中加入了一个Calendar(ID:Calendar1)控件;
当单击ParentForm.aspx中的ParentButton时弹出ChildForm.aspx页面:
<SCRIPT language="JavaScript" event="onclick" for="ButBegin"> window.open"ParentForm.aspx","newtxt","top=400,left=300,width=360,height=300,scrollbars=no,resizable=no");
</SCRIPT>
问题:
我想在单击Calendar1中的某一天时,把该天(包括年、月、日)显示在ParentForm的ParentText中。
哪位高手能帮我写段代码以实现这个功能?在下感激不尽!!!