View Full Version : post to a pop up box ??
01-15-2003, 11:09 AM
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, 02: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, 02: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, 04: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 © 2016 vBulletin Solutions, Inc. All rights reserved.