Problem with jQuery add() issue
<p>I have a quick question. My brain is fried and I cannot think :(.</p>

<p>Why the following code is not adding  tag to MyDivClass: </p>

<pre><code>$("div.MyDivClass").add("&lt;a href='' id='test'&gt;&lt;span&gt;&lt;/span&gt;&lt;/a&gt;");
$("div.MyDivClass a#test").attr("href","www.test.com");
$("div.MyDivClass a#test span").html("text1");
</code></pre>
