I may have just missed it but how would you be able to have a seperate function fire when a day cell is clicked as opposed to the oncalchange function. I can either change months or have a day cell fire.
seperate oncalchange functions
Posted May 15th, 2008 by Anonymous
oncalchange feature request
If I'm understanding you correct... that you want to have two callback functions: one for when a day cell is clicked, and one for when the months change.
If this is true, this is already supported:
The day cell callback is the second parameter in the instantiation, the update callback. You can see an example of this in the oncalchange demo (http://scal.fieldguidetoprogrammers.com/scal-v02-documentation/scal-onca...) where I use the function updateSelect.
The month cell call back is the oncalchange.
If I've misunderstood your request, let me know.
hacked it out... comment out
hacked it out...
comment out line ~287
/*if(arguments[1]) { this.options.oncalchange(event); }*/
I am sure this is not the propper way but it works for me
Post new comment