Please check the link jsfiddle.
Every text box has seperate id.
function calculation(id)
{
var quantity = document.getElementById("qty"+id).value;
var unit_price = document.getElementById("unit"+id).value;
var total_price = quantity * unit_price;
document.getElementById('total_price'+id).value = total_price;
}
I want the sum of total price and display on the final price.
Thanks in advance