再请问一下,若要得到iframe裡的资料(same domain),ex:iframe裡某个link…content.document.getElementById(iframeId).contentWindow.document.getElementsByTagName(&qu...
全文
回复(11) 2008-04-25 17:31 来自版块 - Web 开发技术交流
表情
wushi777不清楚你的写法对不对, 我好像没见过 firefox里有用contentWindow的。 我的方法一般是先获得 iframe元素,然后用获得的元素调出document,最后用文档找链接。 简写是这样的: i = document.getElementById(&quo...(2008-04-25 17:31)

返回顶部