how to get clicked cell id?
how to get clicked cell id?

i want to get clicked td's id or class. How can i do that?
This question has an accepted answers - jump to answer
This discussion has been closed.
i want to get clicked td's id or class. How can i do that?
This question has an accepted answers - jump to answer
Answers
Start with this example to learn about delegated events:
https://datatables.net/examples/advanced_init/events_live.html
You can do something similar with
td
and use jQuery to get theid
orclass
. If you want help please build a simple test case so we can see what you have and you you build a solution.https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
thank you @kthorngren