Sreejesh SP

Sreejesh SP

  • 1.2k
  • 794
  • 155.2k

TextboxValidation

May 21 2013 2:37 AM
Dear All,
 
               I have a text box ,how to validate this text isdate format in using jscript,
that means dd/mm/yyyy

i will enter 22 11 2343

replace 22/11/2343

and this validation is

1. first two digit 1 to 30 that is this is date

2 next two digit  1 to 12 that is date

3. third part is year so this include 4 digits

4. In case 11th digit must prevent


These are do only in client side code

so please give jscript code

Regards

Sreejesh

Answers (2)