[SOLVED] Pass content from Frame to another
Posted: Sat Mar 12, 2005 1:23 am
Let say a page has has 2 frames :
page0.htm
page1 has a textbox and a submit button.
When I hit the submit button is it possible to display value of textbox in page2 ?
I tried have a 'global' function in page0 where I did var v=document.getElementById("text1").value and set a page2's variable with this v. But this is not working ?
Possible ? If not any other way ?
Thanks
page0.htm
Code: Select all
<frameset cols="50%,*">
<frame name="left" src="page1.htm">
<frame name="right" src="page2.htm">
</frameset>When I hit the submit button is it possible to display value of textbox in page2 ?
I tried have a 'global' function in page0 where I did var v=document.getElementById("text1").value and set a page2's variable with this v. But this is not working ?
Possible ? If not any other way ?
Thanks