Uncategorized

Function load css with jquery

Function_loadCSS = function(href) {
var cssLink = $(“<link>”);
$(“head”).append(cssLink); //IE hack: append before setting href
cssLink.attr({
rel: “stylesheet”,
type: “text/css”,
href: href
});
};

Leave a Reply

Your email address will not be published. Required fields are marked *