#EANF#
Am working on MVC With jquery and am using JQUERY to load the section of
the page.
I have a div
<div id="test" class="col_6 newSection">
<div>
And on click of the DIV am having a AJAX function and call the controller
which return the action result from the partial view
$(document).on("click", ".newSection", function () {
..
..
..
..
..
success: function (resp) {
$("#test").html(resp);
}
})
But the problem is i have the CSS files referred in my Master Page which
is not applied after the ajax call for this particular section.
Am sure there will be a workaround which am missing. Any suggestions would
be much valuable at this point.
Update
For eaxmple. in my master page i have referred
<link href="~/test.css" rel="stylesheet" />
But whatever the classes applied there is not reflecting in my AJAX
section HTML Thanks
No comments:
Post a Comment