1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Combo box when click it will open to a new tab

Discussion in 'Web Design' started by rap8557, Jul 29, 2010.

  1. rap8557

    rap8557 Jr. VIP Jr. VIP Premium Member

    Joined:
    Sep 15, 2008
    Messages:
    1,086
    Likes Received:
    436
    How can i do this?

    I tried adding the code target="blank" but still it wont open to a new tab

    here's the code im using

    Code:
    <form name="redirect" id="redirect">
    <div align="center" class="style20"><span class="style21">Choose your country</span> 
    
    <select name="selection"> 
    <option value="http://website.com/brazil.html">Brazil</option>
    <option value="http://website.com/Canada.html">Canada</option>
    </select> 
    
    <input name="button" type="button" onclick="WinOpen();" value="ENTER"  target="_blank" /></div>
    
    </form></div>
    
    thanks :D
     
  2. ghprod

    ghprod Regular Member

    Joined:
    Mar 18, 2009
    Messages:
    230
    Likes Received:
    40
    Home Page:
    target blank just for <a> ... lol...

    if you wan to do with div then gooling for js popup :)
     
  3. dimedesign

    dimedesign Newbie

    Joined:
    Jan 7, 2010
    Messages:
    16
    Likes Received:
    1
    You will need to use javascript for this most likely, but for the <a> tag, you can use that. Also, it's target="_blank" :)