Search Results

Search found 1 results on 1 pages for 'micharch54'.

Page 1/1 | 1 

  • jQuery append css link to iframe head

    - by Micharch54
    I'm trying to append a css file to an iframe that is created on a page from a global script. I can access part of it, but for some reason I can't append to the head. It's not throwing errors either, which is frustrating. <script type="text/javascript"> $(document).ready(function() { $('#outline_text_ifr') .contents() .find('head') .append('<link type="text/css" rel="stylesheet" href="/include/outline.css" media="all" />'); }); </script>

    Read the article

1