Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 10
    It will work for most cases, but it will fail on multi-frame DOM environments, give a look to this article. Commented May 14, 2010 at 4:55
  • 6
    I tested it with an "Invalid Date" and it returned true!! Commented Dec 7, 2015 at 18:22
  • This is not working as expected in my case where I've used DHTMLX Calendar type in date field. Commented Dec 9, 2015 at 8:25