chrisparr21681
Programmer
Hi, i have the dropdown as shown below but need to open it in a new window...i have tried
window.new.location.href = URL; to no avail....please help
function formHandler(form)
{
var URL = document.form.site.options[document.form.site.selectedIndex].value;
window.location.href = URL;
}
<form name="form">
<select name="site" size=1 onChange="javascript:formHandler()">
<option value=" >Getting Started...
<option value=" </select>
</form>
window.new.location.href = URL; to no avail....please help
function formHandler(form)
{
var URL = document.form.site.options[document.form.site.selectedIndex].value;
window.location.href = URL;
}
<form name="form">
<select name="site" size=1 onChange="javascript:formHandler()">
<option value=" >Getting Started...
<option value=" </select>
</form>