i have two frames in a frameset. i want pass variables between them i have write the following code.
in forte.html file
i wrote the following script
<script language="javas cript">
function fun1()
{
window.parent.f rame2.form.cont act.value=999;
}
</script>
<body>
<form name="form" action="">
<input type="text" name="contact">
</body>
Code:
<frame set> <frame src="forte.html" name="frame1"> <frame src="http://192.168.1.6/sample.html" name="frame2"> </frame set>
i wrote the following script
<script language="javas cript">
function fun1()
{
window.parent.f rame2.form.cont act.value=999;
}
</script>
<body>
<form name="form" action="">
<input type="text" name="contact">
</body>
Comment