<html> <head> <script type="text/javascript"> function twoframes() { document.getElementById("frame1").src="js_guidelines.asp.htm" document.getElementById("frame2").src="js_intro.asp.htm" } </script> </head> <body> <iframe src="js_obj_htmldom.asp.htm" id="frame1"></iframe> <iframe src="js_operators.asp.htm" id="frame2"></iframe> <br /> <form> <input type="button" onclick="twoframes()" value="Change url of the two iframes"> </form> </body> </html>
Edit the text above, and click on the button to see the result.
Copyright © 2007-2008, Www.JavaBasics.We.Bs All rights reserved.