Posted By

dottDesign on 04/29/10


Tagged

dropdown textmate html links


Versions (?)

Dropdown in New Window


 / Published in: Other
 

  1. <form name="Dropdown">
  2. <select style="font-size:12px;" name="menu">
  3. <option value="http://www.google.com">Google</option>
  4. <option value="http://www.yahoo.com">Yahoo</option>
  5. </select>
  6. <input style="font-size:12px;" type="button" onClick="window.open(document.Dropdown.menu.options[document.Dropdown.menu.selectedIndex].value);" value="Go">
  7. </form>

Report this snippet  

You need to login to post a comment.