View Full Version : post to a pop up box ??
01-15-2003, 12:09 PM
this may be a DUM *** question but I am trying to post from a form (easy) but the page I am posting to I want to be in a pop up box ??
method="POST" action="post.asp" in the form tag
but how do I make this post to a pop up box ???? please help oh
01-15-2003, 03:06 PM
<form name="myform" onsubmit="window.open('', 'mypop')" target="mypop" action="buh.htm">
<input type="text" name="textbox1">
If you don't need control over the popup window you can set the target="_blank" and get rid of the onsubmit event. Then it will pop up in a new window.
01-15-2003, 03:25 PM
I am trying to make the pop up a certain size.... when popping up.. I have tried this.. thinking it would work..
window.open ('',width=350, height=250,'mypop')
how do conquor the pop up size world ????
01-15-2003, 05:13 PM
I'm pretty sure that would be window.open('', 'mypop', 'height=250,width=350')
Here's a decent popup tutorial
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.