I just started working on ASP .NET MVC3 project. I want to render a partial view (*.cshtml file) within javascript/AJAX and put it in a division, Can anybody help me with sample code for that. Thanks in advance.
I tried this way, but not working.
var result = '<%= Html.RenderPartial("_Partialview"); %>';
$(".div_class_name").html(result);