"Select Box" or "Drop Down Box" only works in one spot at a time
This is a very odd and very weird for me. I find the multiple "Select Box" scripts rather easy to save space on websites and useful to anyone browsing your title box. However, With this particular site I've been working on I have found it difficult to understand why some Select Boxes don't work - especially the script created directly by Dreamweaver's "Select" option (i.e. Insert -> Form -> Select).
--> Here's a link to a video showing how the Select Boxes are and aren't working as well as the scripts being used and how they are made. <--
Basically they are put together rather simple. Here is an example of the homemade Dreamweaver Select Box after I added all options, with description in italics:
<select name="Pick an Anonymous" size="2" id="Pick an Anonymous" title="Anonymous Options">
<option value="#">Pick an Anonymous</option>
<option value="http://www.webdomainhere">name preference here</option>
<option value="http://www.webdomain#2here/">name preference #2 here</option>
</select>
and this is what you should get:

I do get that^, but when I drop down options and click the preferred option, it does nothing 😕😕 However, on a previous script - it's the one on top and on the bottom (not a Dreamwever box script style) and it does work. I'm just trying to figure out why. Here it is if you want to see it:
<td rowspan="2"><div align="center">
<select id="foo">
<option value="" selected>Pick a Conspiracy!</option>
<option value="http://www.webdomainhere">name preference here</a></option>
<option value="http//www.webdomainhere2">name preference here #2</a></option>
<option value="http://www.webdomainhere3">name preference here #3</a></option>
</select>
<script>
document.getElementById("foo").onchange = function() {
if (this.selectedIndex!==0) {
window.location.href = this.value;
}
};
</script>
The above script is the one that works when is it located FIRST (see video). It's weird and very frustrating not being able to figure out why it won't work why it won't work wherever it's located because it should, right?
