forum

Home / DeveloperSection / Forums / how i can call a model popup with data by using jquery in mvc

how i can call a model popup with data by using jquery in mvc

Samuel Fernandes 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..
$('#btnShow').click(function () {
$('.modal-body').ajax("@Url.Action("AllUserList", "Home")");
$('#divDialog').modal({ show: true });
});

Updated on 27-Oct-2017

Can you answer this question?


Answer

2 Answers

Liked By