wood burning stoves 2.0
The moose likes HTML, CSS and JavaScript and the fly likes jaavscript date validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "jaavscript date validation" Watch "jaavscript date validation" New topic

jaavscript date validation

san krish
Ranch Hand

Joined: Aug 11, 2010
Posts: 41
I have a requirement like this.
I have a datepicker. If the user picks a date which is lesser than 16yeras from now, I should throw a alert message saying date is invalid.

basically i should validate sysdate-16yrs.
How do i achieve it in Javascript?
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46435
Not a Java™ question. Moving thread.
I agree. Here's the link: http://aspose.com/file-tools
subject: jaavscript date validation
jQuery in Action, 3rd edition