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();
}
});
});
Website Builder Business
Create an online presence for your business.
- Responsive mobile design
- Website hosting
- Rapid Page-Load performance
- Create a blog
- Security (SSL)
- 24/7 support
- PayPal Buy Now or Donate button
- Search Engine Optimization (SEO)
$11.99 / per month