Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
alpoor
Starting Member
29 Posts |
Posted - 2005-07-22 : 14:56:30
|
Is there any way I can trigger button on main window from the pop window as soon as pop up window closes |
|
MichaelP
Jedi Yak
2489 Posts |
Posted - 2005-07-22 : 15:33:45
|
I've not done something exactly like that, but here's what you could try:<SCRIPT LANGUAGE=javascript><!-- function window.onbeforeunload(){ try{ parent.mybutton.click(); } catch(error){ } }//--></SCRIPT> I think parent is not the right object in your case, but I think you get the idea.Michael<Yoda>Use the Search page you must. Find the answer you will. Cursors, path to the Dark Side they are. Avoid them, you must. Use Order By NewID() to get a random record you will.</Yoda> |
 |
|
|
|
|