JQuery: html() is not working as expected 
<p>I have a <strong>div</strong>:</p>

<pre><code>&lt;div id="pageMessagesBox"&gt;&lt;/div&gt;
</code></pre>

<p>In a java script function I am trying to add some items inside my <strong>div</strong>:</p>

<pre><code>$("#pageMessagesBox").html("&lt;a id='id'&gt;&lt;/a&gt;");
</code></pre>

<p>But I've got the following result for <code>$("#pageMessagesBox").html()</code>:</p>

<pre><code>"&lt;A id=id&gt;&lt;/A&gt;"
</code></pre>

<p>The expected is:</p>

<pre><code>"&lt;A id='id'&gt;&lt;/A&gt;"
</code></pre>

<p>What am I doing wrong here ?</p>
