这样得不到对象,还是改成 IFRAME 和 table

解决方案 »

  1.   

    把<script> 改为
    <script defer>
      

  2.   

    defer [CI] 
    When set, this boolean attribute provides a hint to the user agent that the script is not going to generate any document content (e.g., no "document.write" in javascript) and thus, the user agent can continue parsing and rendering. 
    程序下载完后再进行解析和执行
    以上就应该解释通了,先load frameset ,就可以找到对象了。
      

  3.   

    你换<script defer>试试,肯定是不行的。
    你的问题不是出在代码没有下载完啦。
    加个window.onload事件触发就可以了。