fmpq.com
源代码:
点击运行
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Fmpq教程(fmpq.com)</title> <script> function changeSrc(){ document.getElementById("myframe").src="http://www.baidu.com"; } </script> </head> <body> <iframe id="myframe" src="http://www.fmpq.com"> <p>你的浏览器不支持iframes。</p> </iframe> <br><br> <input type="button" onclick="changeSrc()" value="修改源链接"> </body> </html>
运行结果