js獲取iframe對象

搜索資料獲取iframe對象能夠這樣寫web document.frames("iframeId").document; 或 window.frames['iframeId'].document 注:注意:window.frames只可寫成window.frames[‘iframeId’]不能寫成window.frames(‘iframeId’) 可是在IE環境下測試會報Uncaught T
相關文章
相關標籤/搜索