Doggonit
06-14-2005, 09:18 PM
I am fairly new to scripting, JavaScript, heck, I will admit it, coding of any sort.
So, I am trying to make a dropdown menu that will generate at demand an empty frame, or two frames of various forms.
I pieced together the following:
<html>
<head>
<script type="text/javascript">
function go(form)
{
location=form.selectmenu.value
}
</script>
</head>
<body>
<form>
<select name="selectmenu" onchange="switchframes()">
<iframe src="frameEmpty.htm" id="frame1">Empty</iframe>
<iframe src="frameSBA.htm" id="frame2">SBA</iframe>
<iframe src="frameStructuredBond.htm" id="frame3">Structured Bond</iframe>
</select>
</form>
</body>
</html>
What is wrong here? Sorry if it is obvious, but I am really new to this and don't have a single clue as to what the problem could be.
So, I am trying to make a dropdown menu that will generate at demand an empty frame, or two frames of various forms.
I pieced together the following:
<html>
<head>
<script type="text/javascript">
function go(form)
{
location=form.selectmenu.value
}
</script>
</head>
<body>
<form>
<select name="selectmenu" onchange="switchframes()">
<iframe src="frameEmpty.htm" id="frame1">Empty</iframe>
<iframe src="frameSBA.htm" id="frame2">SBA</iframe>
<iframe src="frameStructuredBond.htm" id="frame3">Structured Bond</iframe>
</select>
</form>
</body>
</html>
What is wrong here? Sorry if it is obvious, but I am really new to this and don't have a single clue as to what the problem could be.