Hi Srikanth,
Is that what you wanted?
Elena

//--------------------
//open child window
{
strFeatures = "Width=500, Height=300, scrollbars=no,menubar=no, "+
                "titlebar=no, toolbar=no, location=no, resizable" ;


  childWin=open('test.htm','childWin', strFeatures);
}

function sendToChild()
{

childWin.document.childForm.childText.value=document.parentForm.parenttext.value;

}

</script>



</Head>
<Body BGcolor=white text=black>
<P>
<CENTER>



<B> Window Example - Parent Window</b>

<BR><BR><BR>
<form name='parentForm'>
Click on the button below to open a Child window:

<BR><BR>

<input type='button' name='submit' value='Open Child Window'
onclick='openWin()'>
<BR><BR>

<table>
<tr>
<td align=left>

<input type='text' name='parenttext' size=45></td>
<td align=left>

<input type='button' name='submit' value='send to Child'
onclick='sendToChild()'>
</td>
</tr>
<tr><td align=left>

<input type='text' name='received' size=45></td>

<td align=left>


text received from Child

</td></tr></table></form>
<BR><BR><BR>

</Body>
</Html>



>From: "Mukka, Srikanth" <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
>     reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Passing Value from one frame to another
>Date: Wed, 25 Oct 2000 15:59:01 -0400
>
>Hi All,
>
>
>I have two frames,frame1 and frame2, I am displaying one a.html in frame1
>and b.html in frame2. User selected value from the list box from a.html and
>depending on the value selected in a.html, I want to display the values in
>frame two using b.html. I question is how do I pass values in this
>scenerio.
>May be this is a small doubt.
>
>Bye
>Srikanth
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to