Skip to content

Instantly share code, notes, and snippets.

@willwright82
Last active August 29, 2015 14:03
Show Gist options
  • Save willwright82/b5e9083a5ea0608c9e06 to your computer and use it in GitHub Desktop.
Save willwright82/b5e9083a5ea0608c9e06 to your computer and use it in GitHub Desktop.
Insert CSS into iFrame through Jquery
var $head = $("#eFormIFrame").contents().find("head");
$head.append($("<link/>",
{ rel: "stylesheet", href: "url", type: "text/css" }
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment