Hi, I need to count the cells that contain a span with class '.editable'
table.cells().nodes().to$().find('.editable').length.
table.cells().nodes().to$().find('.editable').length
Reference docs:
cells().nodes()
to$()
Allan
Hi Alan, It's working in console but not in script.
alert(table_di.cells().nodes().length); //this work alert(table_di.cells().nodes().to$().find('.editable').length); //this not work
I found the problem. I forgot to run the script inside the document ready
Thank you Allan. Great job.
Answers
table.cells().nodes().to$().find('.editable').length.Reference docs:
cells().nodes()to$()Allan
Hi Alan,
It's working in console but not in script.
I found the problem. I forgot to run the script inside the document ready
Thank you Allan.
Great job.