Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一页 .aspx,在 page 中,我在页眉页上放了一个 iframe。
iframe页面加载完成后是否可以加载?
iframe
您可以将 iframe 的 src 留空,然后在文档加载时使用 Javascript 更改 src。
<body onload="function_to_change_iframe_src()"> <iframe src=""></iframe> </body>