django-datatable
django-datatable copied to clipboard
want to handle click event on td element
how can i write a click event for td element. or do i need to inject it in code deliver by django-server, if yes then how?
not sure if this is what you mean but...
$("#table").on("click", "td", function() {
alert($( this ).text());
});