我的页面中有一个iframe会加载本地html内容,但不加载远程Web内容。Web内容未加载iframe
下面是代码:
<iframe id="frame1" src="http://localhost/test.html" width="520px" height="400px" scrolling="auto"></iframe>
这是工作。
但下面的代码是不工作:
<iframe id="frame1" src="http://www.google.co.in/" width="520px" height="400px" scrolling="auto"></iframe>
请任何帮助
第二个需要互联网连接才能工作。 –
是的互联网连接,,, –