//獲取父窗口句柄
var topWindow = window.parent.frameElement.param.win;
//只要在後面加上父窗口句柄,就可以在子窗口操作父窗口的元素
$("#id",topWindow.document).html("");//獲取父窗口句柄
var topWindow = window.parent.frameElement.param.win;
//只要在後面加上父窗口句柄,就可以在子窗口操作父窗口的元素
$("#id",topWindow.document).html("");主要用到 $("#id").show();//顯示 $("#id").hide();//隱藏 $("#id").toggle();//狀態相反