title: $(this.element) is undefined, don't understand why
body: <p>Hey everyone I'm trying to add a class to the target element clicked using jquery's event delegation method but the '$(this.element)' is undefined. Why is that? Thanks guys!!!</p>
  
  <pre><code>  tabWrapper.on('click', '.services-tabs', function(event) {
      $('.services-tabs').removeClass('selected');
      $(this.element).addClass('selected');
      console.log(this.element);
    });
  </code></pre>