samedi 31 janvier 2015

Javascript - checking input if it matches what i want


I need to create a simple function that takes the parameter 'str'. this then needs to checked to see if it is in the format of "dd/mm/yyyy" and obviously return false if it doesn't or if for example the 'dd' part is 34 .. because there aren't 34 days in a month





Aucun commentaire:

Enregistrer un commentaire