title: JS Click not working
body: <p>Very simple onclick not firing.</p>
  
  <p>creating divs in a loop containing the classes: </p>
  
  <pre><code>class="person glyphicon glyphicon-user"
  </code></pre>
  
  <p>and i've tried selecting the class the only way i know</p>
  
  <pre><code>$('.person')click(function(){
  console.log("something";
  });
  </code></pre>
  
  <p>it just won't work, i can however print them all with the same selector, and i can fire onclick events on</p>
  
  <pre><code>$('body div').click
  </code></pre>
  
  <p>so its a div with class person, which leaves me clueless</p>
  
  <p>thanks in advance.</p>
  
  <p>edit: no browser errors, no action, nothing.
  the method copy pasted from my code:</p>
  
  <pre><code>$('.person').click(function() {
      console.log("something");
  });
  </code></pre>