I'm want to validate value of name
from Create.cshtml
and AddUser.cshtml
page.
working in mvc application
in create.cshtml
<div id="tab3" class="tab_content">
@Html.TextBoxFor(x => x.FirstTripStartTime, new { id = "minStartTime", @class = "smallTxtEntry3" }) (HH:MM:SS)
</div>
in 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>
How do I compare and show alert if these two values are same
2nd page is in tabular for actually after 1st gets filled.
<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>