87,712
社区成员




<table>
<tr>
<td><input class="checkbox" type="checkbox"/></td>
<td><input type="text" disabled="disabled"/></td>
</tr>
<tr>
<td><input class="checkbox" type="checkbox"/></td>
<td><input type="text" disabled="disabled"/></td>
</tr>
<tr>
<td><input class="checkbox" type="checkbox"/></td>
<td><input type="text" disabled="disabled"/></td>
</tr>
</table>
<script type="text/javascript">
$(function(){
$("input:checkbox").click(function(event){
$(this).closest("tr").find("input:text").prop("disabled",!$(this).prop("checked"));
});
});
</script>