chrisparr21681
Programmer
ok i am working in frames (mistake i know), but i need to open the page selected from a dropdown automatically into my frame, the frame also needs to start on a default page so its not blank...
This is the code for the dropdown, how can get the frame to have the selected option?
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>
This is the code for the dropdown, how can get the frame to have the selected option?
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>