[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: window.close

Gordon Mueller wrote:
> There is a Javascript command that closes the window its called
> from. It wont close other windows. You can find it in Netscapes
> Javascript docs. I'd tell you more, but I dont have the time to look
> through the docs right now.

Actually it will close other windows. The trick is getting the window id 
of the other window. If w1 does "w2 = window.open(...)" then doing 
w2.close() from within w1 will close w2.

-- Robert 

Robert Thuleen
Sr. Software Engineer
Science Applications International Corp (SAIC)
San Diego, Ca