JSFiddle - React, Tailwind, and code Playground

by hescano

HTML

<form action="../">
<select name="myDestination"
onchange="this.form.WINDOW_NAMER.value++;
ob=this.form.myDestination;
window.open(ob.options[ob.selectedIndex].value
,'Window_Name'+this.form.WINDOW_NAMER.value,
    'toolbar=1,location=1,directories=1,status=1,menubar=1,scrollbars=1,resizable=1,width=900,height=500')">

        <option>Select</option>
        <option value="mailto:[email protected]?subject=test&body=Please write soon.%0D%0AThank  you.">Email </option>
<input name="WINDOW_NAMER" type="HIDDEN" value="1">
</form>
</select>