我想验证name
fromCreate.cshtml
和AddUser.cshtml
page 的值。在工作mvc application
在 create.cshtml 中
<div id="tab3" class="tab_content">
@Html.TextBoxFor(x => x.FirstTripStartTime, new { id = "minStartTime", @class = "smallTxtEntry3" }) (HH:MM:SS)
</div>
在 adduser.cshtml 中
<div>
<td valign="top" class="nd_nor_ftd">Start Time<span class="mand">*</span></td>
<td>
@Html.TextBoxFor(x => x.StartTime, new { @class = "smallTxtEntry3" }) (HH:MM:SS)
</td>
</div>
如果这两个值相同,我如何比较并显示警报
第 2 页实际上是在第 1 页填满后以表格形式显示的。
<div id="tab4" class="tab_content">
<div class="buttonDiv">
<input type="button" class="button addButton" name="AddUser" id="AddUser" value="Add Useronclick="OpenAddDialogWindow(GoodReceiptParameterCss, '/User/GetPartialView?name=User&mode=add', 'gridVariableFrequencies');" /><br />
<span>Add Frequency</span>