How to espace when calling jquery append?
<p>I append the following html:</p>

<pre><code>&lt;span sytle="color:#000000" /&gt;
</code></pre>

<p>The color value is stored in a variable:</p>

<p>var my_color = "#000000";</p>

<p>var a = $("#a");</p>

<p>Below is what I have tried:</p>

<pre><code>a.append('&lt;span style="color: ' + my_color + '"&lt;/span&gt;'); 
</code></pre>

<p>Is this correct?</p>
