This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes showModalDialog + reference to parent window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "showModalDialog + reference to parent window" Watch "showModalDialog + reference to parent window" New topic
Author

showModalDialog + reference to parent window

Naresh Chaurasia
Ranch Hand

Joined: May 18, 2005
Posts: 356
hi folks,
I am trying to open a window using showModalDialog. How do i get reference to the parent window.

thnx in advace

N Chaurasia


SCJP 1.4, SCWCD1.4, OCA(1Z0-007)
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
modal windows allow you to pass data to and from them.

http://www.faqts.com/knowledge_base/view.phtml/aid/876/fid/129

Eric
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: showModalDialog + reference to parent window
 
Similar Threads
Question on using showModalDialog
Checkbox and JPanel
Modal window and its side-effects
iframe and struts url won't work
keeping pop up window active until clicked