Page 1 of 1
How do I...
Posted: Tue Feb 17, 2004 4:37 pm
by John Cartwright
I have a form and I want to passs those variables in the url to a popup that will come up when you click submit. How do I do this...
Posted: Tue Feb 17, 2004 4:41 pm
by ol4pr0
Code: Select all
<a href="$pages?id=$name">$name</a></td><br>\n" .
just a example
Posted: Tue Feb 17, 2004 5:03 pm
by John Cartwright
lol thats not what i meant, my fault for poorly explaining
Just tell me how do I make a popup come up when a form is submitted instead of it displaying on the same page (still holding all the variables)... ( instead of just reloading the page do a popup.. and preferably reload the fist page
plz

Posted: Tue Feb 17, 2004 5:54 pm
by nincha
a pop, up mean another html browser or a javascript popup?
Posted: Tue Feb 17, 2004 5:56 pm
by John Cartwright
Yes....
I have the form
I need this form, when submitted is pressed to open the url admin_confirm.php?variables blah blah with it but in a new window instead of just refreshing in the one it is in.
Understand now?
Posted: Tue Feb 17, 2004 6:12 pm
by uberpolak
Add the target "_new" to your form, so something like this:
Code: Select all
<form method="post" action="example.php" target="_new">
<!-- form stuff -->
</form>
This is really a client-side thing.
Posted: Tue Feb 17, 2004 6:13 pm
by John Cartwright
rofl im so stupid
i did form action = blah;
then the next line i did target=_blank
rofl thanks alot..
Posted: Tue Feb 17, 2004 6:18 pm
by John Cartwright
I know this isnt php but is there a way to control scrollbar, width, height with the way im doing things?
edit* also remember i cant use a javascript function like popupwin because the url has all the variables and i need to keep them there for futur use.
edit* I am just using this
body onLoad="resizeTo(0,0);">