$("#父窗口元素ID",window.parent.document)...就行了
js 版本
view sourceprint?1.window.parent.document.getElementById()