Add dynamic stylesheet with jQuery

$("head").append("<style id='dynamicStylesheet'></style>");
$("#dynamicStylesheet").text(newStyleTextGoesHere);

Leave a Reply

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