title: Detect which element is clicked
body: <p>In briefly, I load a local HTML page into a <code>div</code> inside other web form in asp.net. </p>
  
  <p>JQuery: </p>
  
  <pre><code>&lt;script&gt;
      $(function () {
          $("#includedContent").load("../HtmlHolder/index.html");
      });
  
  &lt;/script&gt;  
  </code></pre>
  
  <p>HTML:</p>
  
  <pre><code>  &lt;div id="includedContent" class="WebHolder" style="width: 450px; height: 300px; border: 1px solid #808080; margin: 0px auto; overflow-y: scroll;"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Now I want to get element's class name by click on them by below script:  </p>
  
  <pre><code>&lt;script&gt;
      $(document).ready(function () {
          $('.WebHolder').on("click", "*", function (e) {
  
              alert("Class :" + $(this).attr("class"));
          });
      });
  &lt;/script&gt;  
  </code></pre>
  
  <p>My Problem is, when I click on any element, this code alert this Class name and it's Parent!  </p>
  
  <p>How to resolve it?  </p>
  
  <p>Note: element is not specific object, maybe it's an input or button or textarea or ... . </p>