If I have this select box:
<select id="s" name="s">
<option value="0">-</option>
<option value="1">A</option>
<option value="2" selected>B</option>
<option value="3">C</option>
</select>
If I try to run $("#s").val("4")
, the selection changes to "0". (See behavior here: http://jsfiddle.net/4NwN5/) How can I make it so that if I attempt to set the select box to a value that does not exist in the select box that nothing changes?