Get Target of on click

Get Target of on click

I have a subclass element (.myclass) that is added after the DOM is initially loaded and there may be several on the page.
I have an on-click to detect the clicking of the class like this:

  1. <div id="wrapper">
  2.   <span class="myclass">Click Here</span>
  3. </div>

The jQuery:

  1. $('#wrapper').on('click', '.myclass', function() {
  2.   console.log('Inside');
  3.   var target = $(this).find('#wrapper .myclass');
  4.   console.log('TargetThis: ' , target);
  5. });

How do you target the class element that was just clicked.  Currently it just gives me undefined.