Answer the question
In order to leave comments, you need to log in
How to get sum of checkbox data-value which are checked?
<input type="checkbox" data-value ="5"/>
<input type="checkbox" data-value ="15"/>
<input type="checkbox" data-value ="19"/>
Answer the question
In order to leave comments, you need to log in
$("input[name='id_tovar']:checked").each(function() {
//тут считаешь
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question