HTML
 1在表格中实现一列单选<table border=1 id="tbale1" algin="center">
 2在表格中实现一列单选<tr>
 3在表格中实现一列单选<td align=center width="50"><input type=radio value="SHOW"onclick="getID(this);"></td>
 4在表格中实现一列单选</tr>
 5在表格中实现一列单选<tr>
 6在表格中实现一列单选<td align=center><input type=radio value="SHOW"onclick="getID(this);"></td>
 7在表格中实现一列单选</tr>
 8在表格中实现一列单选<tr>
 9在表格中实现一列单选<td align=center><input type=radio value="SHOW"onclick="getID(this);"></td>
10在表格中实现一列单选</tr>
11在表格中实现一列单选<tr>
12在表格中实现一列单选<td align=center><input type=radio value="SHOW"onclick="getID(this);"></td>
13在表格中实现一列单选</tr>
14在表格中实现一列单选</table>
JavaScript
 1在表格中实现一列单选<SCRIPT>
 2在表格中实现一列单选function getID(oObject) 
 3>

如果在ASP.NET中想实现,只要把rowIndex-1的值保存在一个隐藏的文本框中,在代码中获取该值即可。

相关文章:

  • 2022-12-23
  • 2021-08-09
  • 2022-12-23
  • 2022-12-23
  • 2021-08-28
  • 2021-10-07
  • 2022-12-23
  • 2022-01-06
猜你喜欢
  • 2021-11-30
  • 2021-05-16
  • 2022-12-23
  • 2021-10-04
  • 2021-11-22
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案