A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
rewriting the browser contents using Struts
Joined: Sep 28, 2006
Nov 14, 2006 05:35:00
i want to rewrite a browser in suituation
that, in a parent window i will have a link when i
click the link i will be getting a pop-up window
in that i will have some images i have to select one and
submit the pop-up-window the image should be updated in the parent window
this scenario works for me in a new window not in parent window
looking for your replies
Joined: Dec 11, 2004
Nov 14, 2006 09:28:00
Moved to the Struts forum.
How to ask a question...
Simple Servlet Examples
Joined: Feb 15, 2005
Nov 14, 2006 21:52:00
In order to get a reference to the image in the parent window, you will have to use the keyword "opener". This refers to the parent window. Example:
var image = window.opener.document.getElementById('theImage');
I agree. Here's the link:
subject: rewriting the browser contents using Struts
Reloading a parent window 1 after submit from window 2
Focus on child window after parent window gets refreshed
Web Page close on TimeOut
how to replace a value in I E from a pop up window without refreshing the parent page
Problem with popup window.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013