$('#btnShow').click(function () {
$('.modal-body').ajax("@Url.Action("AllUserList", "Home")");
$('#divDialog').modal({ show: true });
});
how i can call a model popup with data by using jquery in mvc
1643
24-Aug-2017
I have been created a mvc application and i want when i click a particular button (Browse) then a model popup window will be open and it contain all record of student by using jQuery and Ajax .But i can not do this what is problem in my jQuery code please help..
Updated on 27-Oct-2017
Sarahh K.
27-Oct-2017Hi Samuel, I would prefer bootstrap modal for this task.
Niraj Kumar Mishra
24-Aug-2017Correct code is.
Now, you can use this code it give correct answer