jquery table 同一行input赋值 tr名字 操作 给td1中的文本框赋值 给td2中的文本框赋值 function setValue(obj,str){ $(obj).parent().parent().find('[name="text"]').val(str);}