document.getElementById("ifrm1").contentWindow.FileProgress();
var txtGuidTime = window.parent.window.document.getElementById("txtGuidTime").value;谢谢

解决方案 »

  1.   


    <script src="js/jquery-1.3.2.js" type="text/javascript"> </script> 
    <script type="text/javascript"> 
    window.onload=function(){
    $("#ifrm1")[0].contentWindow.FileProgress()
    }
    </script><iframe id="ifrm1" src="test1.asp"></iframe>
    这句var txtGuidTime = window.parent.window.document.getElementById("txtGuidTime").value;
    在iframe中的话 var txtGuidTime = parent.$("#txtGuidTime").val() 
      

  2.   

    $("#ifrm1").get(0).contentWindow.FileProgress(); 
    var txtGuiTime = $(window.parent).$("#txtGuidTime").val()