Is there an isDate
function in jQuery?
It should return true
if the input is a date, and false
otherwise.
Date.parse will prb sort you out, without the need for jquery:
http://www.w3schools.com/jsref/jsref_parse.asp
Above removed after some kind soul pointed out how basic parseDate really is.
There is also a $.datepicker.parseDate( format, value, options )
utility function in the JQuery UI Datepicker plugin:
https://api.jqueryui.com/datepicker/