How do I use jQuery to insert PHP tags through the DOM?
<p>Here is what I'm trying to do...</p>

<pre><code>$("div").prepend("&lt;div id='comment-number'&gt;&lt;?php the_comment_number(); ?&gt;&lt;/div&gt;");
</code></pre>

<p>Is there some way to get this to work?</p>

<pre><code>&lt;div class="gallery-item"&gt;
  &lt;div class="comment-number"&gt;&lt;!--?php echo htmlspecialchars(the_comment_number()); ?--&gt;&lt;/div&gt;
  &lt;/span&gt;
  &lt;span class="gallery-icon"&gt;
    &lt;a href="http://mysite.com/test/photos/attachment/fff/"&gt;&lt;img src="http://mysite.com/test/wp-content/uploads/2011/06/fff-150x150.gif"&gt;&lt;/a&gt;
  &lt;/span&gt;
&lt;/div&gt;
</code></pre>
