function f1()
{
t1.innerHTML=t1.innerHTML+'<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="list2" style="border-top:none;margin-top:-2px;"><tr><input name="yqOid" type="hidden" size="14" class="text"><td align="center"><input name="yqName" type="text" size="8" class="text"></td>'
+'<td height="11" align="center" ><input name="yqType" type="text" size="4" class="text"></td> <td height="11" align="center"><input name="yqAmount" type="text" size="10" class="text"></td>'
+'<td height="11" align="center"><input name="price" type="text" size="10" class="text"></td>'
+'<td height="11" align="center" ><select name="foundSource"><option value="" selected >--请选择--</option>'
<%
for(int zijin=0;zijin<listZijin.size();zijin++)
{
kwmisCode=(KwmisCode)listZijin.get(zijin);
%>
+' <option value="<%=kwmisCode.getCodeid()%>" ><%=kwmisCode.getCodename()%></option>'
<% } %>
+'</select></td><td align="center" ><input name="buyDate" type="text" size="10" class="text" onChange="javascript:Changed()" readonly>'
+' <img src="/out/skin/images/date.gif" style="cursor: hand;" title="选择时间" onClick="return fPopUpCalendarDlg2000(buyDate('+iequ+'))"></td>'
+'<td align="center" ><input name="keyFunction" type="text" size="20" class="text"></td></tr></table>';
iequ=parseInt(iequ)+1;
}
<div id="t1">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="0" class="list2">
</table>
</div>
<SCRIPT>
var iequ='<%=iEquipment++%>';
</SCRIPT>
<p><input type="button" onClick="javascript:f1();" value="添加"></p>