CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   HTML & CSS (http://www.codingforums.com/forumdisplay.php?f=13)
-   -   submit button link, opening it in another window (http://www.codingforums.com/showthread.php?t=283534)

cdoggg94 12-04-2012 03:19 PM

submit button link, opening it in another window
 
so i basically have this submit button as a link:
Code:

<form  action="admin_quote_numbers.php?Client=<?php echo $_GET['Client'] ;?>" method="post" id="admin" name="damin"><input type="submit" value="Go to Admin" id="admin1" /></form>
it works fine and everything but i want it to pop out in another window/tab.

i can't just put in "target='_blank'" though...what would i do ?

sunfighter 12-04-2012 05:36 PM

Quote:

i want it to pop out in another window/tab.
You want what to appear in another window/popup?
And is this all you have in the <form>?

cdoggg94 12-04-2012 06:39 PM

yea...like im just using a form button as the link

and yes i would like it to pop out in a new tab or window

tempz 12-04-2012 08:09 PM

Try:

Code:

<form  action="admin_quote_numbers.php?Client=<?php echo $_GET['Client'] ;?>" method="post target="_blank">
  <input type="submit" value="Go to Admin">
</form>


sunfighter 12-04-2012 09:55 PM

This still leaves the question You want what to appear in another window/popup?


All times are GMT +1. The time now is 09:16 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.