How to filter a single character and delete it using JavaScript?
<p>I end up deleting the element containing the character every time I try.</p>

<p>What I'm trying to delete is the comma for each <code>.date</code>:</p>

<pre><code>&lt;div class='date'&gt;Nov 1, 2011&lt;/div&gt;
&lt;div class='date'&gt;Dec 22, 2011&lt;/div&gt;
</code></pre>
