Hi! I have a javascript below... I want the javascript to check
today date and date earlier. if it is, there will be an alert..
and this is what I got which allow me to select today day...
furthermore, i want the set the date to tomorrow
<script type="text/javascript">
function CheckDateEalierandToday(sender, args) {
if (sender._selectedDate <= new Date()) {
alert("You cannot select a day before today and today!");
sender._selectedDate = new Date();
// set the date back to the today
sender._textbox.set_Value(sender._selectedDate.format(sender._format))
}
}
</script>
anyone can help me??
...
Go to the complete details ...