Fusionalo con esto..
Código HTML:
<html>
<head>
<script language="JavaScript">
function cambia(){
with (document.frm){
// indice.value = String(selector.selectedIndex);
opcion.value = selector.options[selector.selectedIndex].text;
valor.value = selector.options[selector.selectedIndex].value;
}
}
</script>
</head>
<body>
<form name="frm">
Seleccione:<select name="selector" onChange="cambia()">
<option>Seleccione un valor</option>
<option value="1">Romantica</option>
<option value="2">Comedia</option>
<option value="3">Terror</option>
</select>
<br><br>
<!--Esto si kieres el indice-->
<!-- Indice:<input type="text" name="indice"><br>-->
Opcion:<input type="text" name="opcion"><br>
Valor: <input type="text" name="valor"><br>
</form>
</body>
</html>
suerte!