Hi Do u have an example of this remote scripting stuff, I was able to get the first thing working of setting the parameters from popup window to the main window by using document.opener Also how will i come to know in my main window when the popup window is closed and it has passes some value to first window so i can do some remote scriting
Ashish --- Puneet Agarwal <[EMAIL PROTECTED]> wrote: > Not Necessarily..Remote Scripting can do this > without refreshing the whole > page. > > ----- Original Message ----- > From: "Jarnot Voytek Contr AU HQ/SC" > <[EMAIL PROTECTED]> > To: "'Struts Users Mailing List'" > <[EMAIL PROTECTED]> > Sent: Wednesday, January 29, 2003 6:49 PM > Subject: RE: passing value to and from popup window > HELP > > > > 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] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > ===== 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]