add row to a table using jquery
<p>I am trying to append a new row in a table with a variable </p>

<p>I used this line of code with no luck </p>

<pre><code> $('.view-payments table').append('&lt;tr&gt;&lt;td&gt;Amount&lt;/td&gt;&lt;td&gt;' grandTotal '&lt;/td&gt;&lt;/tr&gt;');
</code></pre>

<p>What is the problem?</p>
