STYLE SWITCHER

Add CSS to iFrame

jQuery Interview Questions and Answers
var $head = $("iframe").contents().find("head");
$head.append($("",
{ rel: "stylesheet", href: "file://path/to/style.css", type: "text/css" }));

Recent Article

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.