Hola de nuevo.
primero deberias poner un id al combo y despues desde tu script recoger el valor
mas o menos como te indico mas abajo
Código:
<script type="text/javascript">
document.write("<select name='select' id='select' >");
valor = 100;
x=0;
while(x <= valor)
{
document.write("<option value='"+ x +"'>opcion " + x);
x=x+1;
}
document.write("</select>");
</script>
function tufuncion {
var mivalor = document.getElementById('select').value;
alert(mivalor);
}
espero te sirva