sfakman
Joined: 23 Sep 2006 Posts: 4
|
Posted: Mon Sep 25, 2006 9:20 pm Post subject: Dynamic date range demo with drop down lists |
|
|
Hi
Further to your last post, I have just started a new topic. I can't quite see how this works. Basically, I just want to do what you do in the Dynamic Date Range demo but with drop down lists. I can't get it to work.
My Start date code is this:
Code: |
<a href="javascript:void(0)" onClick="if(this.blur)this.blur();var fm=document.Search;if(self.gfPop)gfPop.fPopCalendar(document.Search.arrDate,[[<%=Year(iCalendarYearsStart)%>,<%=Month(iCalendarYearsStart)%>,<%=Day(iCalendarYearsStart)%>],[<%=Year(iCalendarYearsEnd)%>,<%=Month(iCalendarYearsEnd)%>,<%=Day(iCalendarYearsEnd)%>]],fm.arrDate_year);"><img src="images/cal.gif" alt="Calendar" name="popcal" width="34" height="21" border="0" align="absmiddle" id="popcal"></a>
|
And my end date code is this:
Code: |
<a href="javascript:void(0)" onClick="if(this.blur)this.blur();var fm=document.Search;if(self.gfPop)gfPop.fPopCalendar(document.Search.deptDate,[[<%=Year(iCalendarYearsStart)%>,<%=Month(iCalendarYearsStart)%>,<%=Day(iCalendarYearsStart)%>],[<%=Year(iCalendarYearsEnd)%>,<%=Month(iCalendarYearsEnd)%>,<%=Day(iCalendarYearsEnd)%>]],fm.deptDate_year);"><img src="images/cal.gif" alt="Calendar" name="popcal2" width="34" height="21" border="0" align="absmiddle" id="popcal2"></a>
|
Many thanks
|
|