Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setDisplayedMonth from the Calendar Component

Status
Not open for further replies.

tranelch

Programmer
Oct 22, 2002
6
US
I am trying to use the Flash Calendar Component to display two consecutive months. The current month is the default, and I am trying to set the resCalendar2 to display the following month. No matter what I do, both calendars display the current month.

var cal1 = new Date();
var cal2 = new Date(cal1.getFullYear(), cal1.getMonth()+1, 1)
resCalendar2.setDisplayedMonth(cal2);

I am able to successfully use other methods of this object in the same context, however after several days of trying I have had no success with this one. There seems to be no information on the web or in the documentation either.

Any advise is appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top