Im trying to load css file in my Jquery function but not able to render the same in UI when i check in View source of page.
$(document).ready(function () {
debugger;
if (Ie.IsBrowserSupported) {
$("link[href*='site.css']").remove();
$("head").append($("<link rel='stylesheet' href='ChromeSite.css'
type='text/css' media='screen' />"));
}
});
ChromeSite.css is not being rendered in stylesheet of the page. Is there Any other way to load the same in Jquery function?