Board Logo

Two Calendars on Same Line
sarndt - 7/11/2011 at 07:53 PM

Trying to figure out how I get two calendars to work on the same line. First calendar (Start Date) shows calendar Icon but you can't dropdown the calendar. Second calendar (End Date) shows calendar icon and you can dropdown the calendar. Code I'm using is:

<div style="margin-left: 10px;"><label position: absolute; top: 3px;>Start Date:
<input type="text" name="StartDate" />
<script language="JavaScript">
new tcal ({'formname': 'New User Form', 'controlname': 'StartDate'});
</script></div></br>

<div style="margin-top: -40px; margin-left: 280px;"><label position: absolute; top: 3px;>End Date:
<input type="text" name="EndDate" />
<script language="JavaScript">
new tcal ({'formname': 'New User Form','controlname': 'EndDate'});
</script></div></br>


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/