fellowcolton Posted August 12, 2011 Share Posted August 12, 2011 Hello, I have the following html and when you click on the options, it takes u to the link in the same window. I need it to open new window/tab. Could someone show me how to do this?<!--Manufacturers //start--> <h2 class="ocdo-blackH"><span>Manufacturers</span></h2> <div class="ocdo-box" id="ocdo-manufacturers"> <div class="ocdo-wrap"> <select name="manufactures"> <option value="none" selected="selected">Select...</option> <option value="URL">OPTION</option><option value="URL">OPTION</option><option value="URL">OPTION</option><option value="URL">OPTION</option><option value="URL">OPTION</option> Link to comment Share on other sites More sharing options...
JamesB Posted August 12, 2011 Share Posted August 12, 2011 i'm not sure if you can do that entirely in html, but this should work using java script: <select name="manufactures" onchange="window.open(this.options[this.selectedIndex].value)"> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.