我有表格搜索
<b><span>@Html.Raw(Generic.ToDate): </span></b><span>@Html.DateEmpty("ToDate", (DateTime?)ViewBag.ToDate)</span>
<b><span>@Html.Raw(Generic.FromDate): </span></b><span>@Html.DateEmpty("FromDate", (DateTime?)ViewBag.FromDate)</span>
我有代码js输入日期选择器:
$("input[type=date]").each(function () { this.type = "input" }).datepicker();
我想检查 validate fromdate < todate and date > "30/9/2013"。请谁能帮助我。