Avatar

Level 10

You should be using the event.target.closeDoc(); Note that the doc will not close if it is the last document open in the browser. Therfore you must redirect then do the doc close. I have modified your sample. See attached.

Paul