PDA

View Full Version : Jason's Date Input Calendar x2?



swill
09-22-2006, 02:45 PM
Jason's Date Input Calendar

http://www.dynamicdrive.com/dynamicindex7/jasoncalendar.htm

Can someone explain how to use two of these scripts on a page for arrival/departure dates? When I select dates on the second one, it changes the dates on the first. The information would be emailed in a form with some other fields.

I did search the forum before posting, but couldn't find the answer.

Thanks so much...

swill
09-24-2006, 06:36 PM
But no one?

swill
09-30-2006, 09:46 PM
Damn.

swill
10-01-2006, 01:15 AM
I did read the sticky about no support for multiple scripts on a single page, but since the script's page says this:

"Supports multiple calendar inputs in the same form/page"

I thought this script would be excluded from that rule...

swill
10-03-2006, 02:32 PM
Man, that's hard-core. The silent treatment.

williamstam
03-13-2008, 12:38 PM
lol... ok fine i could probably answer...


<script>DateInput('datefrom', true, 'DD-MON-YYYY', '13-03-2008')</script>

make sure the "datefrom" part changes for each script on the page,.... so say i want to have a date from and a date to for example i would have (you can rename it to anything


<script>DateInput('datefrom', true, 'DD-MON-YYYY', '13-03-2008')</script>

<script>DateInput('dateto', true, 'DD-MON-YYYY', '13-03-2008')</script>