PDA

View Full Version : Focusing on window



carltonbert
25-01-2010, 05:37 AM
Hi guys,
I have a window in which I have a text field button. When I click on that it will open another window like a child window or so. When we type some value in the child window and when it close the value entered in the child window should display in the text box in the parent window. Also ,The user should not be able to do anything on parent window as long as child window is open. If we wants to go to parent window, we should close the child window or click on the button in child window and when close the focus should go to parent window. Any idea of how to do this.
Please help,

Helior
25-01-2010, 06:55 AM
What language?!

I'm assuming it's a web site and you want javascript, but it could be a windows app in about 10 differant languages!

If it's a website, i'd probably use a jquery library to create a popup div in the same window, opening a new windows is so oldschool.

codemonkey
25-01-2010, 02:18 PM
Troll.....