I need to select some value in a combobox in the main file, from a Popup. Here is my actual code:


main file:a
Code:
<form method="post" name="nueva" id="nueva">
<select id="editar/partes_en_papeles/23/nombre" name="editar/partes_en_papeles/23/nombre" class="input_text_small" onchange="">
<option value="0"> - ninguno - </option>
<option value="5">Susano</option>
<option value="16">Magno Star</option>
</select>

<button type="reset" id="trigger" onclick="return popitup('filtro.php')">&gt;</button>
</form>
filtro.php:
Code:
<a href="#" onclick="javascript:opener.document.nueva.editar/partes_en_papeles/23/nombre.selectedIndex =16">Magno Star</a>

<a href="#" onclick="javascript:opener.document.nueva.editar/partes_en_papeles/23/nombre.selectedIndex =5">Susano</a>