I have problem with IE with the max date I have used. The button to change the month doesn't work in IE only. Of course the max date is based on the to date I am using. It works fine in chrome and firefox. Any suggestions or help
var toDate =newDate(endDate);
var newToDate = toDate.setDate(toDate.getDate()-30);
Here is the link to jsfiddle. Try in IE 7 compatability mode, i cannot move around months, in chrome I was able to move around months. In IE 7, the date is not set to what I want, rather it shows current month.