Users Pricing

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 2059 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 });
});

2 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md