<tr>
<td>
<label><i>*</i> 发票需求:</label>
<select />
</td>
</tr>
chrome下不支持select里面的option单击事件!
故只有改成select的change事件。
下面这种:
$(function(){ $('#iNeed').change(function(){ if($('#iNeed option:selected').attr('id') == '1'){ $(this).closest('td').siblings().hide(); }else{ $(this).closest('td').siblings().show(); } }); })