Topic: Safari javascript error makes no sense Pages that link to <a href="https://ozoneasylum.com/backlink?for=30668" title="Pages that link to Topic: Safari javascript error makes no sense" rel="nofollow" >Topic: Safari javascript error makes no sense\

 
Author Thread
ruffy
Nervous Wreck (II) Inmate

From:
Insane since: Jun 2008

IP logged posted posted 11-20-2008 18:54 Edit Quote

In case I have a popup window
lurking under my screen,
I want it closed.

This is the line I use to do it:
if ( apptWindow ) {apptWindow.close();}

Yet Safari (3.1.2) chokes and tells me:
Can't find variable: apptWindow

kuckus
Paranoid (IV) Mad Librarian

From: ber/ger
Insane since: Dec 2001

IP logged posted posted 11-20-2008 20:32 Edit Quote

Does it work in other browsers?

How does the window get opened, how is the variable set?

coach
Nervous Wreck (II) Inmate

From:
Insane since: May 2011

IP logged posted posted 05-31-2011 11:10 Edit Quote
Edit TP: spam removed


Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu