C
CES
All,
I'm trying to test if a browser is configured so that I can use popup
windows or if it has a popup blocker installed... the only solution I was
able to think of, was one that would pop up a window and then write a value
of popup=true into a form box (or cookie) and then submits the page.
The code below executes up to the point where the window regains focus
window.focus() but fails to execute any code after that point, specifically
executing the submit form.
popWin = window.open('popupTest.htm','','width=10,height=10');
popWin.blur();
window.focus();
document.form.submit();
Could someone please help me with how I would execute the submit line after
the window regains focus.
Any help on this will be appreciated.
CES
I'm trying to test if a browser is configured so that I can use popup
windows or if it has a popup blocker installed... the only solution I was
able to think of, was one that would pop up a window and then write a value
of popup=true into a form box (or cookie) and then submits the page.
The code below executes up to the point where the window regains focus
window.focus() but fails to execute any code after that point, specifically
executing the submit form.
popWin = window.open('popupTest.htm','','width=10,height=10');
popWin.blur();
window.focus();
document.form.submit();
Could someone please help me with how I would execute the submit line after
the window regains focus.
Any help on this will be appreciated.
CES