How to Page Refresh on date pick from JS Calendar

Discussion in 'JavaScript' started by demireal, Jun 28, 2006.

  1. #1
    Hi ALL.

    I am using a form where I have a text box and image of a calendar, after clicking on calendar image JS Calendar will popup and user will select the date which will be displayed in the text box.

    Problem is that I want to refresh the page after the text box gets the date value from JS Calender, also this page should keep the form fields after refresh.

    Please give me some suggetions and if someone have a sample code please let me know. I need to finish this task for my project ASAP please help!!

    Here is the code I am using in the form:
    <td width="247">
    <p align="left"><font face="Verdana" size="1">Week Ending<input type="text" name="date1x" size="13" ><a HREF="#" onClick="cal1x.select(document.forms[0].date1x,'anchor1x','MM/dd/yyyy'); return false;" TITLE="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>


    Thanks
    Demireal
     
    demireal, Jun 28, 2006 IP