title: jquery .click function not working, way to see in chrome dev tools?
body: <p>I have the following script attached to a button:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
              $('.addToCartButton').click(function() {
                  fbq('track', 'AddToCart', {
                      content_ids: ['&lt;?php echo  (int)$product_info['products_id']; ?&gt;'],
                      content_type: 'product'
                  });
              });
  
  
          &lt;/script&gt;
  </code></pre>
  
  <p>I am trying to activate the facebook addtocart on button click.</p>
  
  <p>The button code is:</p>
  
  <pre><code>&lt;button id="tdb1" type="submit" class="addToCartButton" role="button" aria-disabled="false"&gt;
     &lt;span class="ui-button-icon-primary ui-icon ui-icon-cart"&gt;&lt;/span&gt;
     &lt;span class="ui-button-text"&gt;Add to Cart&lt;/span&gt;
  &lt;/button&gt;
  </code></pre>
  
  <p>Is there a way to check if it is firing in chrome dev tools?
  Am I missing something?</p>