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.