Your second requirement will require refreshing the first page no matter how
much you are against it.  For your first one, just write a javascript
function on the first page and call it from the popup window as such:
opener.setSomeValue('whatever');

--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.


> -----Original Message-----
> From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 29, 2003 12:43 PM
> To: [EMAIL PROTECTED]
> Subject: passing value to and from popup window HELP
> 
> 
> Hi,
> 
> I have to do the following
> When a user clicks on a link, I want to open a jsp in
> new window , i want to pass some parameters to this
> jsp, which i am doing by using 
> <html:link href="_blank" onclick="javascript:popup()">
> Click here </html:link>
> But now i want to get value back from the popup
> window, for e.g when the user clicks on some link on
> this window, get the value of this link
> and display it on the textfield of the first page.
> 
> Also there is one more requriement, depending upon the
> value selected by the user on popup window i want to
> get some extra info database, and display it on the
> first page.
> withour submitting the first page ( i was using
> submitting to iframe before)
> 
> Ashish
> 
> =====
> A$HI$H
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to