esthera
05-09-2007, 08:44 PM
first I am using the javascript date picker at
//Date Time Picker script- by TengYong Ng of http://www.rainforestnet.com
//Script featured on JavaScript Kit (http://www.javascriptkit.com)
//For this script, visit http://www.javascriptkit.com
Now it's called in the following way-
Date: <input type=text name=mydate value="09/05/2007"><a href="javascript:NewCal('mydate','ddmmyyyy')"><img src="cal.gif" width="16" height="16" border="0" alt="Pick a date"></a><br>(dd/mm/yyyy)
<br>
<input type=submit name=submit value="View"></form>
Is there anyway I can have the javascript open the calendar when the form loads so that the user does not have to click.
//Date Time Picker script- by TengYong Ng of http://www.rainforestnet.com
//Script featured on JavaScript Kit (http://www.javascriptkit.com)
//For this script, visit http://www.javascriptkit.com
Now it's called in the following way-
Date: <input type=text name=mydate value="09/05/2007"><a href="javascript:NewCal('mydate','ddmmyyyy')"><img src="cal.gif" width="16" height="16" border="0" alt="Pick a date"></a><br>(dd/mm/yyyy)
<br>
<input type=submit name=submit value="View"></form>
Is there anyway I can have the javascript open the calendar when the form loads so that the user does not have to click.