Back Forum Reply New

scw.js calendar widget

Can you please tell me how to use runsAfterSCW()method of the scw.js calendar widget? Actually I want to call some method to do some validation
on user selected date. Sometimes I want user not to select today's date. I want to first call scwShow(scwID('startDate1'),this) thenrunsAfterSCW() method. I am able to call scwShow(scwID('startDate1'),this) method but not able to call runsAfterSCW() method when user clicks on the date of calendar.

Hi i happen to see your question when i was looking on google on how to use the runsAfterSCW() method. Anyway I have figured it out... you have to do something like this:

lt;ing src=quot;calendar.gifquot; onclick=quot;scwNextAction=myFuncName.runsAfterSCW(thi  s,'myFuncParameter');scwShow(scwID('elementName'),  this);quot; /gt;

Thanks giggss, after trying a lot, I figured out the answer. I appreciate your reply.

not a problem. is good to help and share common questions
¥
Back Forum Reply New