$("#sub").click(function (){ var qnty=0,rateperkg=0,grossval=0; $("#item tr.item-row").each(function() { qnty=$(this).find(".qnty").val(); rateperkg=$(this).find(".rateperkg").val(); grossval=qnty*rateperkg; alert(grossval); $(this).val(".grossval")=grossval; }); });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)