Close new window

B

Bilt

Hello,

Have a hyperlink on my page that opens a new window for a
survey. I want to add a button (command)on the
confirmation page that closes this window. How do I do
it?

Thank you very much.

Bilt
 
K

Kevin Spencer

<input type="button" value="Close This Window"
name="myButton" onclick="window.opener = self;window.close();">

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top