JavaScript Calendar

admin

Administrator
Staff member
Hi
I'm pretty new to JavaScript. I have some code that I downloaded from the internet that makes a clickable calendar that can be used to populate a text field with a date. The date is then passed to a SAS program using CGI. Problem is, when the user clicks on the icon, the calendar pops up and the current date is selected. I would like to have it so that the date selected on the from date calendar that pops up is January 2000 and the to date is the current date. Any ideas how I can change the code to accomplish this requirement? The code is attached. Thanks,

Lewis
 
Top