View Full Version : Creating a popup and posting to the new window
01-30-2006, 08:03 AM
Thankful for any replies!
01-30-2006, 10:00 AM
<form action="blah.asp" method="post" target="mypopup" onsubmit="openPopup(this.target)">
<input type="submit" value="Submit" name="btnSubmit" />
var w = window.open('', target, 'width=600, height=500, resizable=1');
If you want a normal popup window with address and menu bar visible and no pre-set size and location, then you just specify target="_blank" in the form tag and no scripting needed.
02-06-2006, 09:12 AM
Forgot my login info so couldn't thank you right away.
Thanks for the help, worked perfectly.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.