jQuery in Action, 3rd edition
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
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: 44006
Not a Java™ question. Moving thread.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: jaavscript date validation
jQuery in Action, 3rd edition