I have a question, to see if they can give me a hand. I have a table with several items, each one has 1 select with 2 payment options, cash and card, what I need is that when the option is changed, I show the value of that combo that changed with JQuery.
Here's what I did in html5:
<td>
<select name="FormaDePago" id="">
<option value="Tarjeta">Tarjeta</option>
<option value="Efectivo">Efectivo</option>
</select>
</td>
And here what I have been doing with Jquery:
$(document).ready(function () {
$(".FormaDePago").change(function(){
let formaPago = $(this).val();
alert(formaPago);
});
});