else if ($('[id$="DTD"]').val() == "")
{
alert("Select Date");
$('[id$="DTD"]').focus();
return false;
}
this is my code it does not validate the sharepoint date control
thank u advance
Jquery validate date
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Dipankar BiswasRank #992 · 2K reputationPosted Aug 13, 2014, 2:26 AM EDT
http://www.jquerybyexample.net/2011/12/validate-date-using-jquery.html
Ravi KumarRank #2,085 · 690 reputationPosted Aug 13, 2014, 2:52 AM EDT
if ($('#DTD').val() = "")
{
alert("Select Date");
$('#DTD').focus();
return false;
}
Amit TripathiRank #7,345 · 243 reputationPosted Aug 13, 2014, 11:55 PM EDT