posted 20 years ago
Hi
I tried that line but it didnt work. here are my two htmls. i m calling 2.htm from 1.htm.
//-----1.htm-------------
function chk(){
window.open("2.htm","SendData","toolbar=No, location=No, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=400, height=400");
}
</script>
<body>
<form name="form1" method="post" action="">
<input name="t1" type="text" id="t1">
<input type="button" name="Button" value="check" on Click="chk()">
</form>
</body>
//------ 2.htm-----------
<script language="javascript">
function send1(){
parent.form1.t1.value="Data Sent";
}
</script>
<body>
<form name="form1" method="post" action="">
<input type="button" name="Button" value="Send" on Click="send1()">
</form>
</body>
\----------------
Anything wrong i m doign there?