[jQuery] Getting index of clicked table cell
For the life of me i cannot figure out why this gives me "-1" (not
found)
$("#Table1 tr.SUM").click(function(e) {
alert($(this).index(e.target));
});
With "this" being the row, and "e.target" being the cell, shouldn't
that work?