I created a list view CRUD edit program. In the list view, when a user clicks on the Edit button a popup form will be shown. This works.
On popup of the form I have a Product dropdown list and I get this list function well. However when I tried to use the Product dropdown list's value it does not work.
I need some help or tutorial for this.
$(document).ready(function() {
$("#ProductId").change(function() {
$.get("/controller/action", {
p1: $("#ProductId").val()
}, function(data) {
});
});
});
I am working in ASP.Net MVC using Visual Studio 2017 express