Change values from input to div

by lokointhehouse2

JavaScript

function changevalues()
{
	$(".maap").each(function() {
	    var value = $(this).val();
	    var minus = $('#nationalMAAPReduction').val();
		var change = value - minus;
		var change = change.formatMoney();
		var target = $(this).closest('td').siblings(".maapreduced");
		console.log(target);
		target.html(change);
	});
};