Question 1:<table border="1">
<tr>
<td><input type="button" value="Show row index" onclick="alert(this.parentNode.parentNode.rowIndex)"></td>
</tr>
<tr>
<td><input type="button" value="Show row index" onclick="alert(this.parentNode.parentNode.rowIndex)"></td>
</tr>
</table>
<tr>
<td><input type="button" value="Show row index" onclick="alert(this.parentNode.parentNode.rowIndex)"></td>
</tr>
<tr>
<td><input type="button" value="Show row index" onclick="alert(this.parentNode.parentNode.rowIndex)"></td>
</tr>
</table>
就是动态生成 服务器控件"file"
就是动态生成 服务器控件"file"======================================
ASP.Net?动态生成服务器控件,至少需要POST BACK的,客户端脚本做不到