jQuery(function($){ $('[id*="price-item-click"]').click(function() { var selector = $(this).attr('id').replace('-item-click', ''); var $price = $('#' + selector); var sum = 0; $price.toggle(); $price.toggleClass('price-active'); $(this).toggleClass('price-item-active'); $('.price-active').each(function(){ sum += parseFloat($(this).text().replace(/\D/g,'')); }); if (sum > 0){ $("#total-price-cal").show(); $("#total-price-cal").text("$" + sum + "k"); } else { $("#total-price-cal").hide(); } }); });

For savvy marketers with growing mailing lists.

  • Up to 5,000 Contacts
  • Add more anytime
  • Send up to 50,000 Emails/Month
  • Unlimited Signup Forms
  • Unlimited Image Storage
  • Unsubscribe Handling
  • Works with Facebook, Etsy & More
  • Automated Welcome Email
  • Converts Blog Posts to Email
  • Unsubscribe Options
  • Hot Leads List
  • Auto-sends Event Emails
  • Automated Email Campaigns
  • Record Signup IPs
  • Share Statistics w/Others
$35.99 / per month