I have a simple list that I put into an array. What I'd like to do is once a specific item in that list/array has been chosen: show content-X.
How do I structure the If statement to check for a specific selection within the array to then force a particular action?
<select name="list" id="list">
<option name="one" id="one">One</option>
<option name="two" id="two">two</option>
<option name="three" id="three">three</option>
</select>
var ListArr = [];
var list = document.getElementById("list");
for(i=0; i<list.options.length; i++)
{
ListArr[i]=list.options[i].value;
}