獲取父窗口的名稱
parent.frames["otherframe"].name
parent.frames["otherframe"].location.href
parent.frames["otherframe"].document.all.控件ID.value
獲取父窗口內容:
$(parent.window.frames["frameMain"].document.body).html()
在body中增加內容:
當前頁的body增加內容:$("body").append('4444');
增加父窗口代碼:parent.frameContent.$(parent.frameContent.document).find("body").append('<font size="17" color="red">類別編碼: </font>');