title: Auto click div button with jquery
body: <p>I can't get jquery to programatically click this button:</p>
  
  <pre><code>&lt;div class="cta bt-add-to-cart" data-prid="90859" role="button" data-error="Per procedere devi selezionare la taglia!"&gt;
      &lt;div&gt;Aggiungi al carrello&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I tried this:</p>
  
  <pre><code>$('.cta bt-add-to-cart').click();
  </code></pre>
  
  <p>or this:</p>
  
  <p><code>$('.cta bt-add-to-cart').trigger('click');</code></p>