Here's my shopping cart that I want to get the quantity value if its changed with jQuery. How do I get the quantity value with jQuery as this is an array of products?
@foreach($carts as $cart)
<tr>
<td class="cart_product col-sm-1">
<img src="" class="img-responsive" alt="">
</td>
<td class="cart_description">
<p></p>
</td>
<td class="cart_price">
<p>Rs. </p>
</td>
<td class="cart_quantity">
<div class="cart_quantity_button">
<select class="cart_quantity" name="quantity[]" data-class="">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
</select>
</div>
</td>
<td class="cart_total">
<p class="cart_total_price">Rs. </p>
<?php $total_price+=$item_price ?>
</td>
<td class="cart_delete">
<a class="cart_quantity_update" data-class=""><i class="fa fa-refresh"></i></a>
</td>
<td class="cart_delete">
<a class="cart_quantity_delete" data-class=""><i class="fa fa-times"></i></a>
</td>
</tr>
@endforeach
via jawad ali