public/source/js/custom.js
/* now mDate is the start day of the table */
now mDate is the start day of the table
now mDate is the start day of the table
function dateToTag(d) {
				var tag = $('<td><a href="javascript:void(0);"></a></td>');
				var a = tag.find('a');
				a.text(d.getDate());
				a.data('date', dateToStr(d));
				if (date.getMonth() != d.getMonth()) { 
					tag.addClass('off');
				} else if (_this.data('date') == a.data('date')) { 
					tag.addClass('active');
					_this.data('date', dateToStr(d));
				}
				return tag;
			}
function dateToTag ( d ) { var tag = $ ( '<td><a href="javascript:void(0);"></a></td>' ) ; var a = tag . find ( 'a' ) ; a . text ( d . getDate ( ) ) ; a . data ( 'date' , dateToStr ( d ) ) ; if ( date . getMonth ( ) != d . getMonth ( ) ) { tag . addClass ( 'off' ) ; } else if ( _this . data ( 'date' ) == a . data ( 'date' ) ) { tag . addClass ( 'active' ) ; _this . data ( 'date' , dateToStr ( d ) ) ; } return tag ; }
now mDate is the start day of the table
now mDate is the start day of the table
// the bounday month // the select day