Skip to content

Instantly share code, notes, and snippets.

@v9n
Created November 16, 2010 10:39
Show Gist options
  • Save v9n/701672 to your computer and use it in GitHub Desktop.
Save v9n/701672 to your computer and use it in GitHub Desktop.
dynamic load external css
var l = $('<link>')
.appendTo('head')
.attr({
rel: "stylesheet",
type: "text/css",
href: theme
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment