jquery add classname to div
//Add classname to attribute exclusive $(".attribute-exclusive").each(function () { var self = $(this); self.addClass(self.text()); });