Button to close a popup

 posted a small file in the files section titled iframe.zip. Contains 1 main page, 1 popup page, with the iFrame call in the popup page.


hapgoods said:Here's the scenario, I have 2 buttons, one opens a popup, then other closes the popup. I'd swear that I did this once upon a time, but can't seem to remember how I did it. Here's what I've tried. Button_1 1-goto web address 2-open in new window 3-set the Window Name to myWindow Button_2 1- goto Web Address 2- Web Address = javascript: myWindow.close() The popup opens fins, but Button_2 thorws a JS error 'myWindow' is undefined. Anyone help me remember what to do? Thanks, Scott

Discussions have been disabled for this post