[jQuery] Client Side Date Validations Using Query

2009-02-19 Thread FreezeOut
What I'm trying to do seems like it should be really simple but roadblocks keep coming up so any help would be appreciated. Basically what I want to do is a check to ensure the date the user entered is less then the current date. Below is some mock code of how it should work. $.validator.addMe

[jQuery] JQUERY Client Side Date Validation

2009-02-19 Thread FreezeOut
All I would like to do is write a simple validation routine to ensure the date entered by the user is less then the current date. Below is some puesdo code of what would be nice if it worked. But it doesn't . . . . $.validator.addMethod("ValidDate", function(value, element) { var cu