Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Aug 2012
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts

    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 ?

  • #2
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    4,606
    Thanks
    24
    Thanked 647 Times in 646 Posts
    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>?

  • #3
    New to the CF scene
    Join Date
    Aug 2012
    Posts
    9
    Thanks
    1
    Thanked 0 Times in 0 Posts
    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

  • #4
    Regular Coder
    Join Date
    Jul 2012
    Location
    London
    Posts
    473
    Thanks
    4
    Thanked 86 Times in 86 Posts
    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>
    Last edited by tempz; 12-04-2012 at 09:18 PM.

  • #5
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    4,606
    Thanks
    24
    Thanked 647 Times in 646 Posts
    This still leaves the question You want what to appear in another window/popup?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •