js获得动态生成对象的属性有问题?
问下js对于动态生成的对象的属性可以获得不?
我的问题如下:
代码:
=======================================================================================
<html>
<head>
<title>Insurance(PAFA3项目模板主布局)</title>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<link rel="stylesheet" href="/Insurance/layout/default.css" type="text/css">
</head>
<body>
<table width="100%" height="100%" border="0" cellspacing="0" border="0">
<tr height="30">
<td class="header" valign="top" colspan="2"><div align="right" class="logo">Insurance:页首</div> </td>
</tr>
<tr>
<td valign="top" align="center" class="menu" nowrap>
<br><strong>Insurance:</strong>菜单
<br><a href="/Insurance/addBasic.do">增加保单</a>
</td>
<td valign="top" class="content">
<form name="lialityForm" method="post" action="/Insurance/addBasic.do">
<input type="hidden" name="numPlans" value=""/>
<table>
<tr><td>保单号:</td>
<td><input type="text" value="" name="id"/></td></tr>
<tr><td>业务类型</td>
<td><input type=radio name="bizKind" value="0" />团体
<input type=radio name="bizKind" value="1" checked/>个人
</td></tr>
<tr><td>险种大类</td>
<td><select name="bigKind">
<option value="A">非水险</option>
<option value="B">水险</option>
<option value="C">车险2</option>
</select></td></tr>
<tr><td>险种</td>
<td><select name="guarantName">
<option value="A00">财产保险基本险</option>
<option value="A01">财产保险综合险</option>
<option value="A02">财产保险</option>
</select></td></tr>
<tr><td>保额</td><td><input type="text" value="0.0"name="guarantNumber"></td></tr>
<tr><td>费率</td><td><input type="text" value="0.0"name="guarantRate"></td></tr>
<tr><td>保费</td>
<td><input type="text" value="0.0"name="guarantMoney"></td></tr>
<tr><td>保费期限</td>
<td><input type="text"value=""name="startDate">
<input type="text" value=""name="endDate"></td></tr>
<tr><td>录入日期</td>
<td><input id="inDate" type="text" value=""name="inDate"></td></tr>
<tr><td>楼宇项目</td>
<td><input type="checkbox" name="isStoreBuilding"/></td></tr>
<tr><td>特别约定</td>
<td><input type="text" value=""name="speciAssumpsit"></td></tr>
</table>
<table id="lialityTable" width="877" border="1"><