Cita:
Iniciado por IsaBelM eso mismo pero en el select. como lo has hecho antes
Me debe de faltar algo, porque como muestro a continuación tampoco funciona:
Código HTML:
<form method="post" action="#">
<table>
<tr>
<td>
<select name="select1.1" onchange="this.parentNode.parentNode.nextSibling.nextSibling.zzzzzstyle.display='block'">
<option value=""></option>
<option value="select1.1Option1">1</option>
<option value="select1.1Option2">2</option>
<option value="select1.1Option3">3</option>
</select>
</td>
<td>
<select name="select1.2" onchange="this.parentNode.parentNode.nextSibling.nextSibling.zzzzzstyle.display='block'">
<option value=""></option>
<option value="select1.2Option1">1</option>
<option value="select1.2Option2">2</option>
<option value="select1.2Option3">3</option>
</select>
</td>
</tr>
<tr>
<td>
<select name="select2.1" onchange="this.parentNode.parentNode.nextSibling.nextSibling.style.display='block'" style="display: none">
<option value=""></option>
<option value="select2.1Option1">1</option>
<option value="select2.1Option2">2</option>
<option value="select2.1Option3">3</option>
</select>
</td>
<td>
<select name="select2.2" onchange="this.parentNode.parentNode.nextSibling.nextSibling.style.display='block'" style="display: none">
<option value=""></option>
<option value="select2.2Option1">1</option>
<option value="select2.2Option2">2</option>
<option value="select2.2Option3">3</option>
</select>
</td>
</tr>
<tr>
<td>
<select name="select3.1" onchange="this.parentNode.parentNode.nextSibling.nextSibling.style.display='block'" style="display: none">
<option value=""></option>
<option value="select3.1Option1">1</option>
<option value="select3.1Option2">2</option>
<option value="select3.1Option3">3</option>
</select>
</td>
<td>
<select name="select3.2" onchange="this.parentNode.parentNode.nextSibling.nextSibling.style.display='block'" style="display: none">
<option value=""></option>
<option value="select3.2Option1">1</option>
<option value="select3.2Option2">2</option>
<option value="select3.2Option3">3</option>
</select>
</td>
</tr>
</table>
</form>