<table> <tr><td><span id="span1" >0.00</span></td> <td><input onchange="display(this)" placeholder="0.00" /> </td> </tr> </table> function display(lnk) { var row = lnk.parentNode.parentNode; alert(row.rowIndex); alert($('#row.cells[0]').text()); var rowIndex = row.rowIndex - 1; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)