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(); } }); });

Pro features put you in control.

  • Storage: 60 GB*
  • 2 GB RAM
  • Bandwidth: Unlimited
  • Feel at home with cPanel
  • Managed services come standard
  • Provisioning that’ll rock your world

*Disk space includes operating system files, which can be close to 1 GB in a CentOS/Fedora server. Please take that into consideration when choosing a server size that best fits your needs.

$47.99 / per month