0
I need to take a value and divide by the amount entered in the input
<h2 class="m-b-0 text-white font-weight-normal" id="valortotal">R$ 4.000,00</h2></div>
Take this value and divide by the quantity entered here:
<div style="border-color: #333 !important;" class="qty mt-6">
<span class="minus">-</span>
<input type="text" class="count" name="qty" value="1">
<span class="plus">+</span>
</div>
And show the result:
<div class="col-6">
<h5 class="card-subtitle">Individual</h5>
<h3 class="font-weight-bold">R$ 4.000,00</h3>
</div>
Great help, congratulations
– Leonardo