title: How to Dynamically Set Max Qty in Touchspin Boostrap
body: <p>Anyone can help me?
  I tried this code to dynamically set the value of maximum qty, but it still doesn't work.</p>
  <p>This is my code :</p>
  <pre><code>var max = document.getElementById(&quot;max_qty&quot;);
      $(&quot;input[name='qty_total']&quot;).TouchSpin({
              min: 0,
              max: max,
              step: 0.01,
              decimals: 2,
              boostat: 5,
              maxboostedstep: 10
          }
      );
  </code></pre>