開始日用と終了日用の 2 つの jQuery 日付ピッカーがあるフォームがあります。クライアントが今日の日付と将来の日付を選択できないように、それらに日付範囲の検証を追加したいと考えています。
@{Html.BeginForm("ExportToExcel", "marketing", FormMethod.Get);}
<input type="hidden" value="@ViewBag.StartDate" name ="EXsd" />
<input type="hidden" value="@ViewBag.EndDate" name = "EXst" />
@{Html.EndForm();}
日付の検証を追加する JavaScript 関数の書き方を教えてください。