here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site
Jquery Modal Popup
About Us Learn more about Stack Overflow the company Business Learn more about jquery dialog box example hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss
Jquery Popup Div
Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Display error message in jquery message box jQuery popup or in alert in MVC 4 up vote 6 down vote favorite 2 Am using DataAnnotation for validation, I want to show the error message(Data annotation) in a pop up (dialog/alert) instead of showing it on view.... I have implemented the code using this link.. Project template is Mobile Let me know if I am missing something ?? http://forums.asp.net/t/1738076.aspx/1 Javascript:- $('#Test').bind('invalid-form.validate', function (form, jquery error message box validator) { alert('InsideTest'); var $list = $('#errorlist ul:first') if ($list.length && validator.errorList.length) { $list.empty(); $.each(validator.errorList, function () { $("
").html(this.message).appendTo(list); }); $list.dialog({ title: 'Please correct following errors:', }); } }); Forgot to add html... About.cshtml :- @model WRDSMobile.Models.Test
@using (Html.BeginForm(null, null, FormMethod.Post, new { name = "Test", id = "Test" })) { @Html.ValidationSummary(true)