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 3 of 3
  1. #1
    New Coder
    Join Date
    Jul 2007
    Posts
    25
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Search Engine in new window

    Hello

    I just have a quick question.

    I have a search box in my site. When I click go, it opens the search results in the same window. How can I make it open in a new window?

    By the way, it is a simple google search.

    Thanks,
    azra
    azra :D

  • #2
    Regular Coder
    Join Date
    Sep 2007
    Location
    Raleigh, NC
    Posts
    273
    Thanks
    7
    Thanked 59 Times in 52 Posts
    Azra,

    Try adding target="_blank" to the <form> tag, it should open the results of its submission in a new window.

  • Users who have thanked vtjustinb for this post:

    azra (10-06-2007)

  • #3
    New Coder
    Join Date
    Jul 2007
    Posts
    25
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by vtjustinb View Post
    Azra,

    Try adding target="_blank" to the <form> tag, it should open the results of its submission in a new window.
    thanks, that works. I had tried that before, but at that time, i must have put it in the wrong place as it had still opened in the same window.
    azra :D


  •  

    Posting Permissions

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