I can\'t figure it out how to get the class value of the clicked element.
class
When I use the code bellow, I get \"node-205\" every time
$("div").click(function() { var txtClass = $(this).attr("class"); console.log("Class Name : "+txtClass); });