我正在尝试在php iframe中加载一个asp.net应用程序。但是当我试图查看iframe时,我在asp.net中收到的错误不在php中。
WebPage.aspx:500 Uncaught DOMException: Blocked a frame with origin "http://l503021" from accessing a cross-origin frame.
Php Code
<script>
function OpenForm()
{
document.getElementById("ccFrame").src="http://l503021/valueonpage/WebPage.aspx";
document.getElementById("popupDiv").style.display="block";
document.getElementById("workingDiv").disabled=true;
}
</script>