TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Ajaykumar Singh
NA
84
5.9k
show validation message on button click
Nov 29 2016 7:53 AM
$.ajax({
url: '@Url.Action("AddNewBranch", "BranchAPI", new { httproute = "" })',
type: "POST",
data: JSON.stringify(branchDetail),
contentType: "application/json;charset=utf-8",
success: function (result) {
if (result == "Success") {
addNewBranchModal();
}
else if (result == "fail") {
alert("2nd"); //after this i want to enable @Html.ValidationMessageFor
};
},
error: function (e) {
alert(e);
}
Reply
Answers (
4
)
Preventing fakepath display in AsyncFileUpload
I want to generate an I tag inside the a tag of actionlink m