我可以使用children()和父()但如果输入不是孩子和父母?设置可见的其他选择器没有父母和孩子
<table>
<tr>
<td>
<input type="checkbox" class="check">
<select style="display: none"><option>1</option><option>2</option></select>
<select style="display: none"><option>1</option><option>2</option></select>
<input type="text" style="display: none">
</td>
</tr><tr>
<td>
<input type="checkbox" class="check">
<select style="display: none"><option>1</option><option>2</option></select>
<select style="display: none"><option>1</option><option>2</option></select>
<input type="text" style="display: none">
</td></tr><tr>
<td>
<input type="checkbox" class="check">
<select style="display: none"><option>1</option><option>2</option></select>
<select style="display: none"><option>1</option><option>2</option></select>
<input type="text" style="display: none">
</td></tr><tr>
<td>
<input type="checkbox" class="check">
<select style="display: none"><option>1</option><option>2</option></select>
<select style="display: none"><option>1</option><option>2</option></select>
<input type="text" style="display: none">
</td>
</tr>
</table>
如果我选中类复选复选框,然后2选择和输入应该是可见的。我如何使用jQuery?
FIDDLE:http://jsfiddle.net/ykyNq/1/