I looked and looked and can't see why I am getting this error.
I even went line by line but can't see why this is happening.
I am sure it is something dumb as I am a PHP / Data guy who is integrating some Javascripts into my site.
Any help would be appreciated.
The line in bold is the one that it says the error is on.
Thanks,
function discountCheckAmountTwo() {
var discountValue2 = parseFloat(document.getElementById('discountAmount').value);
var itemTotalValue = parseFloat(document.getElementById('itemTotal').value);
var totalSaleField = document.getElementById('totalSale');
var itemSubTotalField = document.getElementById('subtotal2');
var taxValue = parseFloat(document.getElementById('salesTax').value);
var nonTaxTotalValue = parseFloat(document.getElementById('nonTaxTotal').value);
var preTaxFinal = (itemTotalValue - discountValue2);
var discountPerc = ((discountValue2 / itemTotalValue) * 100);
var discountField1 = document.getElementById('discount');
var shipHandValue = document.getElementById('shipHand').value;
var discountField1.value = CurrencyFormatted(discountPerc);
var itemSubTotalField.value = CurrencyFormatted(preTaxFinal);
var totalSaleField.value = CurrencyFormatted((preTaxFinal + taxValue + nonTaxTotalValue + shipHandValue));
noTaxCheck();
}



