How do I...
Moderator: General Moderators
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
How do I...
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...
Code: Select all
<a href="$pages?id=$name">$name</a></td><br>\n" .- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Add the target "_new" to your form, so something like this:
This is really a client-side thing.
Code: Select all
<form method="post" action="example.php" target="_new">
<!-- form stuff -->
</form>- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
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);">
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);">