I would like to know how to exclude a number from being chosen randomly from an array. The number has to be previously selected from a listing in html format such as the one shown below. If, for example I choose the number "05" I would like it to be excluded from the random selection process. I've also attached the js code of the random pick. Thanks.
<SELECT ID="elegirNombre" NAME="elección">
<OPTION ID="01" VALUE="01">01</OPTION>
<OPTION ID="02" VALUE="02">02</OPTION>
<OPTION ID="03" VALUE="03">03</OPTION>
<OPTION ID="04" VALUE="04">04</OPTION>
<OPTION ID="05" VALUE="05">05</OPTION>
<OPTION ID="06" VALUE="06">06</OPTION>
<OPTION ID="07" VALUE="07">07</OPTION>
<OPTION ID="08" VALUE="08">08</OPTION>
<OPTION ID="09" VALUE="09">09</OPTION>
</SELECT><BR /><BR />
var bunchofnumbers = ['01', 'C02', '03', '04', '05', '06', '07', '08', '09'];
var rand = bunchofnumbers[Math.floor(Math.random() * bunchofnumbers.length)];
alert("Your number is: " + rand) ;