Hi,
Hoping someone can assist but I need to access a value within a form and an iframe from the parent form that is nested 3 and 4 levels deep.
Basically, the tree hierarchy (DOM) seems to be as follows:
<form name="formname" ....>
<iframe id="refframe">
<form name="formname" ...> ==> Level 3
<iframe id="iframe1"> ==> Level 4
Now I have a item value at Level 3 (say myValue), that I would like to access from the top level (parent - Level 1)
With javascript, how could I access this item "myValue" from the parent top level?
The same goes with accessing an item at Level 4, within the iframe id of iframe1
Any help/examples would be much appreciated.
Thanks.
Based on the above as I still am not sure how to access information but if I have the following HTML code:
<div class="tabs0">
<iframe id="refframe" width="1210px" height="584px" frameborder="0" align="left"
overflow="auto" src="http://www.abc.com" home="" name="Site1">
</iframe>
</div>
<div class="tabs1">
<iframe id="refframe" width="1210px" height="584px" frameborder="0" align="left" `overflow="auto" src="http://www.def.com" name="Site2">`
How can I access the src value within tabs1 class iframe from the parent window, i.e.
src="http://www.def.com"
Thanks again