asp.net如何调用另一个网页
一个页面test.aspx
<span id= "span1 "> 正在检测.... <span>
<iframe style= "display:none; " width= "0 " height= "0 " frameborder= "0 " id= "user_chkname " src= "check.aspx "> </iframe>
请问在check.aspx做完处理后如何把 " 检测完成了! "显示在test.aspx中的
<span id= "span1 "> <span>
------解决方案--------------------在check.aspx里面加上
<script>
window.onload = function()
{
parent.document.getElementById( "span1 ").innerHtml = " ";
}
</script>
------解决方案--------------------在check.aspx页面最后加上response.write( " <script> parent.document.getElementById( "span1 ").innerHtml = " "; </script> ")