View Full Version : js window / post form

02-07-2004, 10:00 AM
Hi all,

I'm looking to have a form which submits (via post method if possible) which opens a javascript window.

IE: They put in their details, then click the submit button and it posts the information to an serverside page where i can pick up what was requested. (i dont want the main window to relocate or load anything)

Is this at all possible?



02-09-2004, 04:30 AM
function openPopup(target){
var w = window.open('',target,'width=600,height=600');
<form action="..." method="post" target="mypopup" onsubmit="openPopup(this.target)">
<input type="submit" value="Submit">

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum