Get title attr from a cell
Get title attr from a cell

Hello All,
A sort question: How do I get the title attr from a cell?
data = table.cell(j, i).data(); // Get the date
titleAttr = table.cell(j, i) ??
Cheers Jim
This discussion has been closed.
Answers
You would get the node with
cell().node()
, then you could use jQuery to get the attribute.Colin
Hello again,
I'm not sure how the syntax will be.How will the syntax be with jQuery? I have serached but I can not find any example:(
Cheers Jim
Thanks for pointing in the correct direction.
My solution:
temp = table.cell(j, i).node();
title = $(temp).attr('title');