How to apply tax, discount to invoice using jQuery
<p>How to apply Tax, discount to subtotal and calculate grand total??</p>

<p>I have these paragraphs with the following ID's</p>

<pre><code>&lt;p id="subtotal"&gt;15000&lt;/p&gt;
&lt;p id="tax"&gt;10&lt;/p&gt; // In percentage
&lt;p id="discount"&gt;1000&lt;/p&gt;
&lt;p id="grandtotal"&gt;&lt;/p&gt; // Grandtotal will be calculated and displayed here using jquery
</code></pre>

<p>The grand total would be 15000 + (1500 //tax) - (1000 //discount) = 15500</p>

<p>How do i calculate this using jQuery?</p>
