As there is jQuery included in the parent page, you can use opener.$('#some_id') or like that ...

Regards,
Bernhard

SimDigital schrieb:
How could i call an element in "parent.window" ?

Sample:
window1
<div id='sample'></div>

window2
<script>
function sampletext() {
parent.window.#sample.text("<b>Some</b> new text.");
}
</script>
<a href='#' onClick='function:sampletext()'>click here to change the
content of div SAMPLE</a>


I dont know how to select an element in parent window.


Reply via email to