Disable button on row based on column value using Jquery
<p>I have two Tables and one table with three columns, n number of rows and on one column I got the quantity value and in another column I got Addbutton. you can add or subtract 1 from that row to cart which is another table using the addbutton in the column. When you added all the way down to 0, I want the button to get disable. And if the value is added back from cart, I want the button to enable again.For this I am able to do for the first row but not working for the other rows.. 
Here is the method/code I'm using for the add/subtract button:</p>

<pre><code>                   if (parseInt(SelectedProductRemainingQuantity) == 0) {

                      $('#btnAdd').attr('disabled', 'disabled');
                }                    
</code></pre>
