Hi,
I'm using ui.datepicker.js and I want to validate the date field to make sure the user select a date.
I have tried
function allow_submit()
{
var f = document.all.frm;
if (f.date.value == "") {
jAlert("Please select a date");
return false;
} //if
return true;
}
and also have try
if (f.date.value == "0000-00-00") {
without succes
Any clue?