A
Andrew Poulos
Testing locally on an Win XP box with the safari pop up blocker disabled:
window.close();
will close the window without warning even though the window was not
opened by javascript.
win = window.open("test.htm","foo");//, str);
alert(win);
does not open a new window and the value displayed by the alert is
"undefined" (shouldn't it be "null" if there was a problem???). Also
safari's activity window doesn't show any problems encountered.
If I put a link on the page
<a href="test.htm" target="_blank">click here</a>
then when you click the link it does open a new window.
How do I get windows safari to open new window with javascript from an
onclick event?
Andrew Poulos
window.close();
will close the window without warning even though the window was not
opened by javascript.
win = window.open("test.htm","foo");//, str);
alert(win);
does not open a new window and the value displayed by the alert is
"undefined" (shouldn't it be "null" if there was a problem???). Also
safari's activity window doesn't show any problems encountered.
If I put a link on the page
<a href="test.htm" target="_blank">click here</a>
then when you click the link it does open a new window.
How do I get windows safari to open new window with javascript from an
onclick event?
Andrew Poulos