Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I make a Form "submit" also close the window?

Status
Not open for further replies.

brendaly

IS-IT--Management
Mar 17, 2005
25
US
Hi, I'm using Dreamweaver MX 2004. I have a very simple pop-up form that sends the information as an e-mail back to me. When the User clicks submit, I'd like the window to close automatically. How do I add that into my code? As is, it looks like:
<form action="mailto:bren@test.org" method="post" enctype="text/plain" name="form1" target="_top">
(Then the body of the form, etc.)
<input type="submit" name="Submit" value="Submit">

Thanks,
Brenda
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top