This works but I require it to open the link in a new window:
<select onChange="window.location=this.value">
<option value ="">select</option>
<option value="http://www.google.com">google</option>
</select>
(I note this has been shown using a button and form but I require it to happen by selecting only)
Have you tried the window.open?
<select onChange="window.open(this.value)">
<option value ="">select</option>
<option value="http://www.google.com">google</option>
</select>
https://jsfiddle.net/m9ts7tnj/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With