This is the sample image of the output. What I want is if I change the quantity in that column its co-related total-price will change also. I want to achieve this injquery yet Im struggling.This is my current code and it still has error if i update the quantity all the total price will change which is wrong I want to only change the total price of the edited column.
var delay = (function(){
var timer = 0;
return function(callback, ms){
clearTimeout (timer);
timer = setTimeout(callback, ms);
};
})();
$(".qty-mod").keyup(function(){
var qty = $(this).val();
delay(function(){
var newprice = qty * totalorgprice
$(".price-total").val(newprice);
console.log(qty);
}, 1000);
});