View Full Version : Form to popup?
mouse
07-21-2002, 12:51 AM
I've got a form submitting to "poll.php", how can I make it so poll.php opens in a new window with predefined margins, lack of toolbars etc rather than the current window...?
cheers
caldasgsm
07-21-2002, 02:54 AM
<form id=myForm target="subwin">
....
<input type=button value="go" onclick="go()">
</form>
<script>
function go()
{
window.open('about:blank','subwin','width......')
myForm.submit()
}
</script>
this topic has already been discussed here...
http://www.codingforums.com/showthread.php?s=&threadid=1063
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.