 <p>I used Filype's answer and changed to a correct one as because it's showing error if you try to uncheck the last one. Here it is..</p> <pre><code>$(document).ready(function() { //append the total dollars display under activities and hide it until clicked var $TotalDollars = 0; var $TotalDollarsDisplay = $('&lt;div&gt;&lt;/div&gt;'); $('.activities').append($TotalDollarsDisplay); $($TotalDollarsDisplay).hide(); function updateTotal() { var total = $(".activities input:checkbox:checked"); if(total.length){ // Get the text from the parent total = total.map(function(idx, el) { return $(el).parent().text(); }) // convert the jquery object to an array .toArray() // extract the value from the string using regex .map(function(item) { var match = item.match(/\$(\d+)/); return parseInt(match[1]); }) // calculate the total with reduce .reduce(function(cur, next) { return cur + next; }); console.log(total); $TotalDollarsDisplay.text(total); $TotalDollarsDisplay.show(); } else{ $($TotalDollarsDisplay).hide(); } } //checkbox needs to show unique dates and times and disable duplicates $(".activities").find("input:checkbox").change(function() { //variables for activity input names var $jsFrameworks = $("input[name='js-frameworks']"); var $Express = $("input[name='express']"); var $jsLibs = $("input[name='js-libs']"); var $Node = $("input[name='node']"); var $MainConf = $("input[name='all']"); var $Npm = $("input[name='npm']"); var $BuildTools = $("input[name='build-tools']"); var $CheckedActivities = $(".activities").find('input:checkbox:checked').length; console.log($CheckedActivities); //Disable duplicate times scheduled if (($jsFrameworks).is(':checked')) { ($Express).prop('disabled', true); } else { ($Express).prop('disabled', false); } if (($Express).is(':checked')) { ($jsFrameworks).prop('disabled', true); } else { ($jsFrameworks).prop('disabled', false); } if (($jsLibs).is(':checked')) { ($Node).prop('disabled', true); } else { ($Node).prop('disabled', false); } if (($Node).is(':checked')) { ($jsLibs).prop('disabled', true); } else { ($jsLibs).prop('disabled', false); } //add up the total dollars for each activity //Adding the non duplicate workshops to the total updateTotal(); }); }); </code></pre>