checkbox 选中,后面的多个textarea提示必填,由于那些事项都是从数据库里读出来的,个数无限制的。
请高手帮忙解决,急!感谢!  <tr>
    <td bgcolor="#FFFFFF" class="f_c">事项<Input type="hidden" name="id_1" id="id_1" value="2"></td>
    <td bgcolor="#FFFFFF" colspan="4">
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#c7e9ff">
  <tr>
    <td bgcolor="#FFFFFF" width="35%"><input type="checkbox" name="id_1[]" id="id_1" value="A">&nbsp;&nbsp;A、项目1</td>
    <td bgcolor="#FFFFFF" width="24%"><textarea name="name_1" class="comments" style="height:expression((this.scrollHeight>150)?'150px':(this.scrollHeight+16)+'px');overflow:auto;"></textarea></td>
    <td bgcolor="#FFFFFF" width="24%"><textarea name="bsfs_1" class="comments" style="height:expression((this.scrollHeight>150)?'150px':(this.scrollHeight+16)+'px');overflow:auto;"></textarea></td>
    <td bgcolor="#FFFFFF" width="17%"><textarea name="synx_1" class="comments" style="height:expression((this.scrollHeight>150)?'150px':(this.scrollHeight+16)+'px');overflow:auto;"></textarea></td>
 </tr>
  <tr>
    <td bgcolor="#FFFFFF" width="35%"><input type="checkbox" name="xtgn_1[]" id="xtgn_1" value="B">&nbsp;&nbsp;B、项目2</td>
    <td bgcolor="#FFFFFF" width="24%"><textarea name="name_1" class="comments" style="height:expression((this.scrollHeight>150)?'150px':(this.scrollHeight+16)+'px');overflow:auto;"></textarea></td>
    <td bgcolor="#FFFFFF" width="24%"><textarea name="bsfs_1" class="comments" style="height:expression((this.scrollHeight>150)?'150px':(this.scrollHeight+16)+'px');overflow:auto;"></textarea></td>
    <td bgcolor="#FFFFFF" width="17%"><textarea name="synx_1" class="comments" style="height:expression((this.scrollHeight>150)?'150px':(this.scrollHeight+16)+'px');overflow:auto;"></textarea></td>
 </tr>
  <tr>
    <td bgcolor="#FFFFFF" width="35%"><input type="checkbox" name="xtgn_1[]" id="xtgn_1" value="C">&nbsp;&nbsp;C、项目3</td>
    <td bgcolor="#FFFFFF" width="24%"><textarea name="name_1" class="comments" style="height:expression((this.scrollHeight>150)?'150px':(this.scrollHeight+16)+'px');overflow:auto;"></textarea></td>
    <td bgcolor="#FFFFFF" width="24%"><textarea name="bsfs_1" class="comments" style="height:expression((this.scrollHeight>150)?'150px':(this.scrollHeight+16)+'px');overflow:auto;"></textarea></td>
    <td bgcolor="#FFFFFF" width="17%"><textarea name="synx_1" class="comments" style="height:expression((this.scrollHeight>150)?'150px':(this.scrollHeight+16)+'px');overflow:auto;"></textarea></td>
 </tr>
 </table>
</td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF" class="f_c">成效<Input type="hidden" name="id_2" id="id_2" value="2"></td>
    <td bgcolor="#FFFFFF" colspan="4">
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#c7e9ff">
  <tr>
    <td bgcolor="#FFFFFF" width="35%"><input type="checkbox" name="id_2[]" id="id_2" value="A">&nbsp;&nbsp;A、成效1</td>
    <td bgcolor="#FFFFFF" width="24%"><textarea name="name_2" class="comments" style="height:expression((this.scrollHeight>150)?'150px':(this.scrollHeight+16)+'px');overflow:auto;"></textarea></td>
    <td bgcolor="#FFFFFF" width="24%"><textarea name="bsfs_2" class="comments" style="height:expression((this.scrollHeight>150)?'150px':(this.scrollHeight+16)+'px');overflow:auto;"></textarea></td>
    <td bgcolor="#FFFFFF" width="17%"><textarea name="synx_2" class="comments" style="height:expression((this.scrollHeight>150)?'150px':(this.scrollHeight+16)+'px');overflow:auto;"></textarea></td>
 </tr>
  <tr>
    <td bgcolor="#FFFFFF" width="35%"><input type="checkbox" name="xtgn_2[]" id="xtgn_2" value="B">&nbsp;&nbsp;B、成效2</td>
    <td bgcolor="#FFFFFF" width="24%"><textarea name="name_2" class="comments" style="height:expression((this.scrollHeight>150)?'150px':(this.scrollHeight+16)+'px');overflow:auto;"></textarea></td>
    <td bgcolor="#FFFFFF" width="24%"><textarea name="bsfs_2" class="comments" style="height:expression((this.scrollHeight>150)?'150px':(this.scrollHeight+16)+'px');overflow:auto;"></textarea></td>
    <td bgcolor="#FFFFFF" width="17%"><textarea name="synx_2" class="comments" style="height:expression((this.scrollHeight>150)?'150px':(this.scrollHeight+16)+'px');overflow:auto;"></textarea></td>
 </tr>
 </table>
</td>
  </tr>
</table>