Friday, 16 August 2013

Get Table Row Column and Header JQuery

Get Table Row Column and Header JQuery

Hi I have an contenteditable Table and I want to be retrieve the row,
column and header for the edited cell. I've managed to get the row but I
can't figure out how to get header and column...
Code so far:
document.addEventListener('keydown', function (event) {
var esc = el = event.target;
var row = $(el).rowIndex();
}

No comments:

Post a Comment