title: Woocommerce Plus/Minus buttons on cart
body: <p>I have a code that works just fine for the first time, but once the cart has been updated, the buttons stop working. Here is my HTML</p>
  
  <pre><code>&lt;td class="product-quantity" data-title="Quantity"&gt;
       &lt;span class="prqu_minus"&gt; &lt;/span&gt;
       &lt;div class="quantity"&gt;
       &lt;input type="number" step="1" min="0" max="" name="cart[XXXXX][qty]" value="7" title="Qty" class="input-text qty text" size="4" pattern="[0-9]*" inputmode="numeric"&gt;&lt;/div&gt;
       &lt;span class="prqu_plus"&gt; &lt;/span&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>Javascript</p>
  
  <pre><code>$(document).ready(function() {
   $('.prqu_minus').click(function () {
      var $input = $(this).parent().find('input');
      var count = parseInt($input.val()) - 1;
      count = count &lt; 1 ? 1 : count;
      $input.val(count);
      $input.change();
     $( 'div.woocommerce &gt; form input[name="update_cart"]' ).prop( 'disabled', false );
     return false;
     });
   $('.prqu_plus').click(function () {
      var $input = $(this).parent().find('input');
      $input.val(parseInt($input.val()) + 1);
      $input.change();
      $( 'div.woocommerce &gt; form input[name="update_cart"]' ).prop( 'disabled', false );
      return false;
      });                                                                   
   });
  </code></pre>
  
  <p>If you could share a tip on how to make it keep working after hitting "Update Cart" that'd be appreciated. Thanks</p>