jQuery div addclass
<p>I have the following code to add active class to selected div:</p>

<pre><code>$("div #"+ myID).addClass( "active" );
</code></pre>

<p>this only works when myID is one word, when myID has space in it, the code broke, I tried to wrap myID with quote, does not work. </p>

<p>Lots of the content have div id with space, since I'm not the content owner, don't have control to correct the content, I can only modify my code to work with the content. Is there any way to point to div id with space? thank you.</p>

<p>Problem solved. thank you all :-)</p>
