求助表格问题,很急,谢谢
以下是我的表格代码,我想将他做成动态表格,在下面有一个连接,点击可以使表格增加一行,请问我该怎么写代码?谢谢了
<table width="711" border="0" cellpadding="0" cellspacing="1" bgcolor="#000000" id="tt" height="413">
<tr>
<td colspan="8" bgcolor="#999999" height="26">
<div align="center" class="style1">肿瘤测量(基线值) <br>
TUMOR MEASURMENT(baseline) </div>
</td>
</tr>
<tr>
<td width="36" rowspan="2" bgcolor="#BDCBDE" height="110">
<div align="center">肿 瘤 <br>
病灶数<br>
Tumor<br>
Lesion<br>
Number<br>
</div>
</td>
<td height="58" colspan="3" bgcolor="#BDCBDE">
<div align="center">病灶器官 <br>
Organ Site </div>
</td>
<td width="170" rowspan="2" bgcolor="#BDCBDE" height="110">
<div align="center">评价日期 <br>
Date of Evalution <br>
(dd-mm-yy) </div>
</td>
<td width="60" rowspan="2" bgcolor="#BDCBDE" height="110">
<div align="center">诊断程序或手段 <br>
Diagnostic<br>
Procedure <br>
</div>
</td>
<td width="203" rowspan="2" bgcolor="#BDCBDE" height="110">
<div align="center">测量( mm ) <br>
Measurement<br>
(L × W × D) </div>
</td>
<td width="57" rowspan="2" bgcolor="#BDCBDE" height="110">
<p align="left">是否作为靶病灶评价?<br>
Evaluable<br>
For<br>
Response <br>
1= 是<br>
2= 否</p>
</td>
</tr>
<tr bgcolor="#BDCBDE">
<td width="31" bgcolor="#BDCBDE" height="50"> </td>
<td bgcolor="#BDCBDE" width="94" height="50">
<div align="center">说明<br>
Instraction </div>
</td>
<td bgcolor="#BDCBDE" width="51" height="50">原发灶<br>
Check Box if Primary </td>
</tr>
<%for j=1 to 12
%>
<tr>
<%dim color
if j mod 2=0 then
color="#BDCBDE"
else
color="#BADCDC"
end if
%>
<td bgcolor=<%=color%> width="36" height="62">
<div align="center">
<input name=LESID<%=cstr(j)%> type="text" size="2">
</div>
</td>
<td bgcolor=<%=color%> width="31" height="62">
<div align="center">
<input name=DXSIT1<%=cstr(j)%> type="text" size="2">
</div>
</td>
<td width="94" bgcolor=<%=color%> height="62">
<div align="center">
<textarea name=DXSITESP<%=cstr(j)%> cols="10" rows="2"></textarea>
</div>
</td>
<td width="51" bgcolor=<%=color%> height="62">
<input type="checkbox" name=PRIMSIT<%=cstr(j)%> value="1">
</td>
<td bgcolor=<%=color%> width="170" height="62">
<div align="center">
<input name=EVALDY<%=cstr(j)%> type="text" size="2" maxlength="2">
日
<input name=EVALMO<%=cstr(j)%> type="text" size="2" maxlength="2">
月
<input name=EVALYR<%=cstr(j)%> type="text" size="4" maxlength="4">
年</div>
</td>
<td bgcolor=<%=color%> width="60" height="62">
<div align="center">
<input name=IDPRC<%=cstr(j)%> type="text" size="2">
</div>
</td>
<td bgcolor=<%=color%> width="203" height="62">
<div align="center">
<input name=DIAM1<%=cstr(j)%> type="text" size="5" maxlength="5">
×
<input name=DIAM2<%=cstr(j)%> type="text" size="5">
×
<input name=DIAM3<%=cstr(j)%> type="text" size="5">
</div>
</td>
<td bgcolor=<%=color%> width="57" height="62">
<div align="center">
<input name=EVALUBL<%=cstr(j)%> type="text" id="EVALUBL<%=cstr(j)%>" size="1">
</div>
</td>
</tr>
<%next%>
</table>