E
Eddie
I am opening a windows (well, technically a greybox() call GB_show()
which shows a nicer window than normal), and want to wait until that
window is closed before moving to the next command. However, when I
open the window, JavaScript immediately issues the next command
statement. How can I get JavaScript to wait until the window is
closed before continuing? Here's visually what I'm trying to do:
statement1;
GB_show('mycaption, 'http://www.mypage.com');
statement3;
When the window opens, JavaScript immediately executes statement 3.
I'd like:
statement1;
GB_show('mycaption, 'http://www.mypage.com');
wait-until-window-closes;
statement3;
Thanks for your help.
which shows a nicer window than normal), and want to wait until that
window is closed before moving to the next command. However, when I
open the window, JavaScript immediately issues the next command
statement. How can I get JavaScript to wait until the window is
closed before continuing? Here's visually what I'm trying to do:
statement1;
GB_show('mycaption, 'http://www.mypage.com');
statement3;
When the window opens, JavaScript immediately executes statement 3.
I'd like:
statement1;
GB_show('mycaption, 'http://www.mypage.com');
wait-until-window-closes;
statement3;
Thanks for your help.