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
Akki. Nikam
NA
48
5.2k
Jquery script for Edit view for cascading dropdown in mvc
Feb 6 2018 2:01 AM
<script>
$(document).ready(function () {
$("#Country").change(function () {
$.get("/Home/State_Bind", { CntId: $("#Country").val() }, function (data) {
$("#State").empty();
$.each(data, function (index, row) {
$("#State").append("<option value='" + row.stId + "'>" + row.State1 + "</option>")
})
})
})
$("#State").change(function () {
$.get("/Home/City_Bind", { stId: $("#State").val() }, function (data) {
$("#District").empty();
$.each(data, function (index, row) {
$("#District").append("<option value='" + row.ctId + "'>" + row.City1 + "</option>")
})
})
})
});
</script>
what changes have to be made for Edit dropdown
Reply
Answers (
6
)
ObjectContext and DBContext
Google map near place search --- Help needed