PDA

View Full Version : two calendars needed



studiodaemonuk
04-25-2009, 08:04 PM
1) Script Title: Jason's Date Input Calendar

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex7/jasoncalendar.htm

3) Describe problem:

Could any one advise me how I would change the Javascript so I could have two calendars running on the same page?

The code is as follows

<script type="text/javascript" src="calendarDateInput.js">

/***********************************************
* Jason's Date Input Calendar- By Jason Moon http://calendar.moonscript.com/dateinput.cfm
* Script featured on and available at http://www.dynamicdrive.com
* Keep this notice intact for use.
***********************************************/

</script>

<form>

<script>DateInput('orderdate', true, 'DD-MON-YYYY')</script>

</form>

The javascript code can be found on the page (too long to enter here)

Any advice on how to change this would be much appreciated thanks