function ValidateDate() { var sDate = $('#ScheduledDate').val(); var sDateTo = $('#ScheduledDateTo').val(); if (sDate == undefined || sDate == '') { alert("Please enter Scheduled Date."); return false; } else { var todaydate = $('#ScheduledDate').val(); $('#ScheduledDateTo').datepicker('setDate', todaydate); return true; } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)