Update two iframes : Iframe : HTML JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » HTML » Iframe »

 

Update two iframes




<html>
<head>
<script type="text/javascript">
function twoframes(){
    document.getElementById("frame1").src="http://www.navioo.com"
    document.getElementById("frame2").src="http://www.navioo.com"
}
</script>
</head>

<body>
<iframe src="http://www.navioo.com" id="frame1"></iframe>
<iframe src="http://www.navioo.com" id="frame2"></iframe>
<br>
<form>
<input type="button" onclick="twoframes()" value="Change url of the two iframes">
</form>
</body>

</html>



           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo HTML
» Iframe