PDA

View Full Version : Dropdown:



MIRO
Dec 9th, 2003, 07:48 AM
need a drop down ehen i select the new value it automatically open in new window :)

glenngv
Dec 9th, 2003, 08:35 AM
<select name="menu" onchange="url=this.options[this.selectedIndex].value;if(url)window.open(url,'_blank')">
<option value="" selected>Choose a page</option>
<option value="page1.htm">Page 1</option>
<option value="page2.htm">Page 2</option>
<option value="page3.htm">Page 3</option>
</select>