function checkDate(sender, args) { if (sender._selectedDate) < new Date()) { alert("You cannot select a day earlier than today!"); sender._selectedDate = new Date(); sender._textbox.set_Value(sender._selectedDate.format(sender._format)) } }
_selectedDate
new Date()
var selectedDate = new Date(sender._selectedDate); if (selectedDate < new Date()) {
if (sender._selectedDate) < new Date()) {
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)