This content has been marked as final. Show 3 replies
I am using the code given in JSP page for calendar styling.
But the calendar doesnt work. There is no pop up when i press the calendar button.
day.date is undefined. What type of object is day ?
This is the code in site
var curDt = new Date();
if (day.isWeekend) return false;
curDt = day.date.getDate;
if (curDt.getTime() - day.date.getTime() < 0) return true; else return false;
if (curDt.getTime() - day.date.getTime() >= 0) return 'rich-calendar-boundary-dates';
var res = '';
if (day.isWeekend) res+='weekendBold ';
if (day.day%3==0) res+='everyThirdDay';
Code snippet doesn't give enough information to answer the question. Post how do you call these functions.
Also which RF version used.