function GetSelectedRow(lnk) { var row = lnk.parentNode.parentNode; var rowIndex = row.rowIndex - 1; var customerId = row.cells[0].innerHTML; var city = row.cells[1].getElementsByTagName("input")[0].value; alert("RowIndex: " + rowIndex + " CustomerId: " + customerId + " City:" + city); return false; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)