trash-box
Junior Member
Posts: 2
Registered: 2/18/2006
Member Is Offline
|
| posted on 8/12/2006 at 11:43 AM |
|
|
dynamically change attributes
is it possible to dynamically change attributes of a calendar. i tried the following one, but it doesn't work...
| Code: | CAL_INIT = {
'dataformat' : 'Y-m-d',
...
};
CAL_TPL = {
...
};
var cal = new calendar(CAL_INIT, CAL_TPL);
function myFunction() {
cal.mindate = '2006-08-01';
cal.showcal();
} |
so when i call myFunction by clicking a button, only the calendar will be shown, but ignores the mindate...
any ideas?
thx
|
|
|
tigra
Administrator
Posts: 1926
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 9/28/2007 at 09:30 PM |
|
|
look for text file in modal mode directory inside the distribution package. It explains properties and methods available for setting up calendar's
properties after its initialization.
|
|
|