I keep getting an error when attempting to pass a variable from one child frame (contentframe) to another (topframe)
from contentframe:
<SCRIPT>
top.topframe.document.somevar.value = "testing123"
</SCRIPT>
and then in the body of topframe:
<SCRIPT> document.write(somevar); </SCRIPT>
Both child frames reside in the same frameset, so I suppose using "parent" instead of top should also work, but neither do.
The method needs to work in as many browsers as possible, including AOL. I tried writing to a DIV tag, while it works it isn't supported by older browsers.
from contentframe:
<SCRIPT>
top.topframe.document.somevar.value = "testing123"
</SCRIPT>
and then in the body of topframe:
<SCRIPT> document.write(somevar); </SCRIPT>
Both child frames reside in the same frameset, so I suppose using "parent" instead of top should also work, but neither do.
The method needs to work in as many browsers as possible, including AOL. I tried writing to a DIV tag, while it works it isn't supported by older browsers.