clare485
8/9/2013 - 4:08 PM

jquery add classname to div

jquery add classname to div

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