我正在使用Asp.Net Grid View Control列Template Field。其中有Asp.Net Literal,TextBox and CheckBox控件。我想在每一行Received Amount中选中复选框时添加每一行值。下面是我的 GridView。

我已经通过 访问了Received Amount列JavaScript,但它给了我整个文本框Alert

我想获得该文本框的值,而Id=txtFeeRecAmount不是整个控件.. 下面是我的Script..
<script type="text/javascript">
function AddAmount(lnk) {
var row = lnk.parentNode.parentNode;
var rowIndex = row.rowIndex;
alert(rowIndex);
var amount = row.cells[2].innerHTML;
alert(amount);
}
</script>
任何帮助,我想在选中Received Amount时获取列的值。CheckBox