Difference between revisions of "Iframe change"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
<script> | <script> | ||
function change() { | function change() { | ||
− | document.getElementById("f").src = " | + | document.getElementById("f").src = "https://www.wtop.com"; |
} | } | ||
</script> | </script> | ||
Line 11: | Line 11: | ||
<body> | <body> | ||
<button onclick="change();"> Change </button> | <button onclick="change();"> Change </button> | ||
− | <iframe id="f" src=" | + | <iframe id="f" src="https://www.ssbbartgroup.com"> |
</iframe> | </iframe> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 21:34, 20 July 2016