This snippet just makes IE7/IE8 crashes the page throwing error. I don’t know why cause on chrome / FF, everything is fine.
The problem seems to be here :
return event.Date.valueOf() === date.valueOf();
The error is :
Message: ‘Date’ has value Null or is not an object
What’s causing this ? Thanks
EDIT I updated my code here http://jsfiddle.net/Zrz9t/15/
Ok, the problem was the following :
Notice the last comma on the last line (which wasn’t present on JsFiddle).
IE was the only one to yell at me for that extra comma.
Problem solved.