.hhh
{
visibility: hidden;
}
funcation ShowText(){
//当勾选复选框怎么让文本框的移除'hhh'样式
//当去掉勾选复选框怎么让文本框的应用'hhh'样式
}<table >
<tr>
<td><input type="check" onclick="ShowText();" > </td>
</tr>
<tr>
<td><input type="text" classs="hhh"> </td>
</tr>
</table>jquery 获取节点中的文本框
$("#ID").attr("class","hhh");如果不能加的话就这样:
$(this).parent().find("tr").eq(1).attr("class");
<script src="http://lib.sinaapp.com/js/jquery/1.6.2/jquery.min.js"></script>
<style> .hhh
{
visibility: hidden;
}</style>
<script type="text/javascript">
function ShowText(o){
//当勾选复选框怎么让文本框的移除'hhh'样式
//当去掉勾选复选框怎么让文本框的应用'hhh'样式
$(o).closest('tr').next('tr').find('input')[o.checked?'removeClass':'addClass']('hhh');
}</script>
<table >
<tr>
<td><input type="checkbox" onclick="ShowText(this);" > </td>
</tr>
<tr>
<td><input type="text" class="hhh"> </td>
</tr>
</table>