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