jquery this class code example
Example 1: jquery selector this and class
$(".class").click(function(){
$(this).find(".subclass").css("visibility","visible");
});
Example 2: how to get class name in jquery
var className = $('#sidebar').attr('class');