Código PHP:
<script language="JavaScript">
function ventanaSecundaria (URL){
window.open(URL,"ventana1","width=500, height=350, scrollbars=no, menubar=no, location=no, resizable=no")
}
</script>
<form name="formulario" id="formulario" method="post">
<table width="100%" border="0">
<tr>
<td>
<select name='fecha'>
<option value='1'>1</option>
<option value='2'>2</option>
<option value='3'>3</option>
<option value='4'>4</option>
</select>
</td>
</tr>
<tr>
<td>
<a href="javascript:ventanaSecundaria('paraborrar2.htm');">Abre secundaria</a></td>
</tr>
</table>
</form>
Código PHP:
<script>
function cambiaIndex(x){
window.parent.document.formulario.fecha.selectedIndex = x;
}
</script>
<form name="formulario" id="formulario" method="post">
<table width="100%" border="0">
<tr>
<td>
</td>
</tr>
<tr>
<td>
<a href="javascript:cambiaIndex(1);">Cambia Index Padre</a></td>
</tr>
</table>
</form>
Muchas gracias a todos.
Un saludo.