document.getElementById("ifrm1").contentWindow.FileProgress();
var txtGuidTime = window.parent.window.document.getElementById("txtGuidTime").value;谢谢
var txtGuidTime = window.parent.window.document.getElementById("txtGuidTime").value;谢谢
<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()
var txtGuiTime = $(window.parent).$("#txtGuidTime").val()