Add a CSS link to your document head with jQuery
Found this little snippet for adding a css file <link> tag to the head of your page with jQuery.
Presumably you could use it for other things too.
$(document).ready(function() {
$('head', document).append('<link rel="stylesheet" type="text/css"
media="screen" href="css/mysite.css" />');
});
Like CFHtmlHead, for javascript!


There are no comments for this entry.
Add Comment