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

Show customers they can trust your code by securing it with a unique digital signature.

  • Required for all Microsoft┬« hardware drivers, Windows Vista┬« or later
  • Validates and secures your code
  • Eliminates security warnings during download and installation
  • Provides high-grade SHA-2 encryption
  • Reinforces security with cross-certificate validation
  • Includes free malware scanner
$239.99 / per year