function init(){
    document.getElementById('show').setAttribute("src", "Alert.aspx");
}
这个函数是什么意思?

解决方案 »

  1.   

    通过设置src属性,让 id="show" 的 <iframe>(或<img>或<script>等) 加载 Alert.aspx,(根据相应的标签, Alert.aspx可能返回html代码/图片数据/脚本)
      

  2.   

    设置id为show的scr属性为alert.aspx
      

  3.   

    再请问一下这一句是什么意思呢?
    onload="document.getElementById('tdheight').height=main1.document.body.scrollHeight+25;
      

  4.   

    前面的标签是不是 iframe?用来 高度 自适应的。
      

  5.   


    看来lz的js还要努力进行中
      

  6.   

    设置id为tdheight的标签的高为滚动高度+25
      

  7.   

    就是改变图片的src,应该是一个验证码