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:
$('#tax').val(isNaN(tax) ? errorMsg : tax.toCurrency());//Display value or 'error' if calculation failed[/code]
Any ideas on how this can be done?
Best,
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:
Code:
var tax = ($('#taxbox').attr('checked')) ? (subtotal * taxRate) : 0;
Any ideas on how this can be done?
Best,