Difference between revisions of "Iframe change"

From Level Access Web Labs
Jump to navigation Jump to search
Line 1: Line 1:
 
<html>
 
<html>
 +
  <head>
 +
    <style type="text/css">
 +
    </style>
 +
    <script>
 +
        function change() {
 +
            document.getElementById("f").src = "http://www.adobe.com";
 +
        }
 +
    </script>
 +
  </head>
 +
  <body>
 
   <button onclick="change();"> Change </button>
 
   <button onclick="change();"> Change </button>
   <iframe src="http://www.ssbbartgroup.com">
+
   <iframe id="f" src="http://www.ssbbartgroup.com">
 
   </iframe>
 
   </iframe>
 +
  </body>
 
</html>
 
</html>

Revision as of 21:30, 20 July 2016