javascript date nan issue in IE
by Ramya[ Edit ] 2012-09-01 11:14:14
javascript date nan issue in IE
you may get "nan" issue in ie while using javascript new Date() as,
var getDate = new Date(month,1,year);
to solve this, just use parseInt in Date() as,
var startDate = new Date(parseInt(month),parseInt(1),parseInt(year));