Good day all:
I'm wondering how does one go about excluding a particular item on a form from being taxed?
I have a check box, which onclick, calculates the sales taxes on all items on the form.
to perform the tax calculation, I'm using:
var tax = ($('#taxbox').attr('checked')) ? (subtotal * taxRate) : 0;
$('#tax').val(isNaN(tax) ? errorMsg : tax.toCurrency());//Display value or 'error' if calculation failed
Any ideas on how this can be done?
Best,