//To validate the date function FutureDateValidation(Indx) { var ExpDateTxt = '#txtExpDate' + Indx.toString(); var mCurDt = $('#CurDate').val(); var ExpDate = $(ExpDateTxt).val(); if (CompareDates(mCurDt, ExpDate) == false) { PopupMessage("Required", " The Expiry date should be greater than current date", "alert"); // $('#' + ExpDateTxt).tex = ""; $('#' + ExpDateTxt).focus(); e.stopPropagation(); return false; } else { e.stopPropagation(); return true; } }
$(ExpDateTxt).val('');
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)