title: How to use event.target inside jQuery child selector?
body: <p>I want to check if a child-element of a clicked div has a certain class.</p>
  
  <p>So i do this:</p>
  
  <pre><code>$('.panel').on('click', function (event) { if($(".panel input").hasClass('h5_validator_error')) { event.stopPropagation(); } });
  </code></pre>
  
  <p>The problem: I have more then one <code>.panel</code> class. Since my whole site gets generated by the user and json-files, i need a dynamic environment without <strong>ids</strong>.</p>
  
  <p>So, actually my if-statement is preventing all <code>.panel</code>-clicks from doing their job.</p>
  
  <p>I want to do something like this:</p>
  
  <pre><code>if($(event.target + ".panel input").hasClass('h5_validator_error')) { event.stopPropagation(); }
  </code></pre>
  
  <blockquote>
    <p>So i want to <strong>select all input - elements from the clicked div without
    having an array and loop through it.</strong></p>
  </blockquote>
  
  <p>Is this possible? Or what is the most efficient way of selecting child-elements of the clicked one?</p>