Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

jquery iframe use from js style

<!DOCTYPE html>
<html>
    <head>
        <script src="http://code.jquery.com/jquery-1.6.3.min.js"></script>
        <script>
        $(document).ready(function() {
            $('#iframe').load(function() {
                $("#iframe").contents().find("head").append("<style>.text_color{color:red;}@page{margin:0;}</style>");  
            });
        });
        </script>
    </head>
    <body>
        <iframe src="iframe.html" id="iframe" name="iframe"></iframe>
    </body>
</html>
Comment

PREVIOUS NEXT
Code Example
Javascript :: jquery read query string 
Javascript :: get dirname to last directory node 
Javascript :: jquery form validation plugin callback function 
Javascript :: nodejs download image from url 
Javascript :: DataTypes Time sequelize 
Javascript :: replace spaces with backslash js 
Javascript :: express get host url 
Javascript :: how to update kali linux on virtualbox 
Javascript :: get document jquery 
Javascript :: socket.io reconnect example 
Javascript :: insert json file in python 
Javascript :: change property name of object in array javascript 
Javascript :: fetch post 
Javascript :: install node js 14 
Javascript :: gcloud storage cors 
Javascript :: statusbar reactnati 
Javascript :: javascript onmouseover change image 
Javascript :: nuxt-link name params 
Javascript :: unable to open file in target xcode react native 
Javascript :: how get first option in select in vue js 
Javascript :: default input type date limit date js 
Javascript :: replace line break with html line break js 
Javascript :: get nth character of string javascript 
Javascript :: data table 
Javascript :: for htmlcollection javascript 
Javascript :: javascript try 
Javascript :: how to align text vertically center beside an image in react native 
Javascript :: javascript html string to plain text 
Javascript :: jquery siblings 
Javascript :: node js cron example 
ADD CONTENT
Topic
Content
Source link
Name
7+1 =