We are doing a project on asp.net mvc 6.I have a scenario where I have to load view components on click a button in jquery.I could not find a way to do this in jquery like partial view load .
$(document).on('click', '.cssThemeContent', function () {
// Component.Invoke("Message")
var url = '@Url.Action('+$(this).attr('setting')+"Settings"+', "Themes")';
$('#divThemeSettings').load(url, {});
});
We would be grateful if you provide us the solution.