demireal
07-11-2006, 05:19 PM
Hi All.
I am having a web page which is using a JS Calendar, once the user click on calender image and pick the date from the calendar it will show up in the text box on the web page, I want once the date is picked up from the calendar, the main page should reload.
Here is the code
<form method="POST" name="form" action="xxx.asp">
<DIV ID="testdiv1" STYLE="position:absolute;visibility:hidden;background-color:white;layer-background-color:white;"></DIV>
<table border="0" width="915">
<td width="963">
<table width="691">
<tr>
<td width="979" colspan="3">
<table border="0" width="100%">
</table>
</td>
</tr>
<tr>
<SCRIPT LANGUAGE="JavaScript" ID="jscal1x">
var cal1x = new CalendarPopup("testdiv1");
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">writeSource("jscal1x");</SCRIPT>
<td width="247">
<p align="left"><font face="Verdana" size="1">
Week Ending<input type="text" name="date1x" value="<%= Request.Form("date1x") %>" size="13" ><A HREF="#" onClick="cal1x.select(document.forms[0].date1x,'anchor1x','MM/dd/yyyy'); return false;" NAME="anchor1x" ID="anchor1x"><img border="0" src="images/calendar.jpg"></a></font></td>
</tr>
</form>
Please help!!
Demireal
I am having a web page which is using a JS Calendar, once the user click on calender image and pick the date from the calendar it will show up in the text box on the web page, I want once the date is picked up from the calendar, the main page should reload.
Here is the code
<form method="POST" name="form" action="xxx.asp">
<DIV ID="testdiv1" STYLE="position:absolute;visibility:hidden;background-color:white;layer-background-color:white;"></DIV>
<table border="0" width="915">
<td width="963">
<table width="691">
<tr>
<td width="979" colspan="3">
<table border="0" width="100%">
</table>
</td>
</tr>
<tr>
<SCRIPT LANGUAGE="JavaScript" ID="jscal1x">
var cal1x = new CalendarPopup("testdiv1");
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">writeSource("jscal1x");</SCRIPT>
<td width="247">
<p align="left"><font face="Verdana" size="1">
Week Ending<input type="text" name="date1x" value="<%= Request.Form("date1x") %>" size="13" ><A HREF="#" onClick="cal1x.select(document.forms[0].date1x,'anchor1x','MM/dd/yyyy'); return false;" NAME="anchor1x" ID="anchor1x"><img border="0" src="images/calendar.jpg"></a></font></td>
</tr>
</form>
Please help!!
Demireal