Append css to specific div
<p>Can below jQuery be amended so that instead of appending to the generic .myCss style I can append to the css within the specific div 'myDiv' ?</p>

<pre><code>var myDiv= $("#myDiv");
$('&lt;a class=\".newCss\" href=\"#\"&gt;&lt;/a&gt;').appendTo('.myCss');
</code></pre>

<p>By append to css I mean the div gets converted from this : </p>

<pre><code>&lt;div id="myId" class="myCss"&gt;
&lt;/div&gt;
</code></pre>

<p>to this :  </p>

<pre><code>&lt;div id="myId" class="test"&gt;
    &lt;a class="myCss"&gt;&lt;/a&gt;                                               
&lt;/div&gt;  
</code></pre>
