Posted on 2012-11-03 15:40
誰用我名字啦? 閱讀(194)
評(píng)論(0) 編輯 收藏 所屬分類:
JQuery
1.獲取或設(shè)置子頁面的元素
當(dāng)前頁面有id為'centerIFrameRight'的iframe標(biāo)簽引用了一個(gè)子頁面,在子頁面中有id為'dataFrame'的frameset標(biāo)簽,設(shè)置dataFrame的rows參數(shù)
document.getElementById("centerIFrameRight").contentWindow.document.getElementById("dataFrame").rows = "0,*";