Note that this seems like a question that is asked many times, but somehow I can't get the most common solution to work. Most answers revolve around a solution like this one:
function isValidDate(){
var dateString = '2001/24/33';
return !isNaN(Date.parse(dateString));
}
In Firefox this returns a false as the result of that Date.parse is a number; 1041462000000.
How do I fix this..?