I have pop up window that needs to target the document it came from.
But, that document is in a frameset with in a frameset.
frameset 1 (index.html)
frameset 2 (content.html)
editor.html has a popup link
selector.html needs to access editor.html
This link is what I need help with, it should change the value of a textbox on the editor page but I dont know how to access it via the dom, can you help?
Thanks Dan.
But, that document is in a frameset with in a frameset.
frameset 1 (index.html)
Code:
<frameset rows="12%,88%" cols="100%">
<frame src="top.html">
<frameset rows="100%" cols="15%,85%">
<frame src="left.html">
<frame src="content.html" name="content">
</frameset>
</frameset>
Code:
<frameset cols="50%,50%">
<frame name="editor" src="editor.html">
<frame name="preview" src="preview.html">
</frameset>
Code:
<input type="button" value="select" onclick="window.open('selector.html');">
This link is what I need help with, it should change the value of a textbox on the editor page but I dont know how to access it via the dom, can you help?
Code:
<a href="javascript:document.all.textbox.value='changed';window.close();" target="parent.content.edit">change textbox</a>
Thanks Dan.