javascript help with changing select box
I have no clue about javascripting and hope someone can.
I have a form with two select boxes as follows:
<html>
<body>
<form name="TEST1">
<p><select name="example1" size="1">
<option value="Any" selected>Any</option>
<option value="YES">Yes</option>
<option value="NO">No</option>
</select></p>
<p><select name="example2" size="1">
<option value="1" selected>choice1</option>
<option value="2">choice2</option>
<option value="3">choice3</option>
<option value="4">choice4</option>
</select></p>
</form>
</body>
</html>
Is it possible to have a javascript make a selection based on a selection of example1? If I change example1 to No I want example2 to move to choice4 and even make it so I can't change example2?
Is this possible?
Thanks.