It works fine in Firefox and Chrome, but does not work in IE8. Here is the html structure:
To dynamically load a CSS file using JQuery.
var link = $(""); link.attr({ type: 'text/css', rel: 'stylesheet', href: }); $("head").append( link );