[thelist] JavaScript: Print Then Close

Peter Brunone (EasyListBox.com) peter at easylistbox.com
Thu Jan 12 11:58:18 CST 2006


Why "this.window.close()" instead of just "window.close()"?

 From: "Casey" aspnet at thecrookstons.com

It's easy to send a window to the printer with Javascript, and it's just as 
wasy to close a window when a user clicks a "close window" link, but what I 
need is this: from a parent page, a user clicks on a link which opens a new 
window, prints it, and then closes it without any user ineraction other then 
clicking on the one link in the parent window.

It's all working but closing the new window:

Text Here

-- 




More information about the thelist mailing list