Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function calculaTotal(){
- var total = 0;
- if ($(".iten-preco").length > 0){
- $(".iten-preco").each(function(){
- total += $(this).text();
- });
- }
- $('#total-orcamento').text(total);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement