i hav a window wit a button and text box..
Then am opening a new window...
suppose if i type somethin in a first window's text box.. and click the button..
the value typed in the text box shoult appear in the opening window...
Is it possible
<html>
<body>
<script type = "text/javascript">
function fun1 ( )
{
var i = document.getElementById("text1").value;
newWindow = open ( "test.html ", "Window");
newWindow.document.writeln("<input type = 'button' name = 'button1' value = 'click'>");
newWindow.document.writeln("<input type = 'text' id = 'text1' name = 'txt1'>");
}
</script>
<form name = "form">
<input type = "button" name = "but1" value = "click" onclick = "fun1 ( )">
<input type = "text" id = "text1" name = "text1" >
</form>
</body>
</html>