textbox上的JQuery验证错误
我在MVC4视图中有以下HTML表单textbox上的JQuery验证错误,jquery,jquery-validate,Jquery,Jquery Validate,我在MVC4视图中有以下HTML表单 @using (Html.BeginForm("Index", "ManageAdministrator", FormMethod.Post, new Dictionary<string, object> {{"id", "manageAdministratorForm"}})) { @Html.TextBox("emailAddressTextbox", null, new Dict
@using (Html.BeginForm("Index", "ManageAdministrator", FormMethod.Post,
new Dictionary<string, object> {{"id", "manageAdministratorForm"}}))
{
@Html.TextBox("emailAddressTextbox", null,
new Dictionary<string, object> {{"id", "emailAddressTextbox"}})
}
我在执行验证时遇到以下错误
JavaScript runtime error: Unable to get property 'call' of undefined or null reference
这个问题是由我使用的JQuery验证插件引起的。 我使用Nuget更新了最新的JQuery验证插件(1.11),现在一切正常 希望这对以后的人有帮助
JavaScript runtime error: Unable to get property 'call' of undefined or null reference