Jquery change elements values?
<p>I have 5 divs. </p>

<pre><code>&lt;div class="wx-temp"&gt;89 &lt;sup&gt;°F&lt;/sup&gt;&lt;/div&gt;
&lt;div class="wx-temp"&gt;91 &lt;sup&gt;°F&lt;/sup&gt;&lt;/div&gt;
&lt;div class="wx-temp"&gt;87 &lt;sup&gt;°F&lt;/sup&gt;&lt;/div&gt;
&lt;div class="wx-temp"&gt;90 &lt;sup&gt;°F&lt;/sup&gt;&lt;/div&gt;
&lt;div class="wx-temp"&gt;89 &lt;sup&gt;°F&lt;/sup&gt;&lt;/div&gt;
</code></pre>

<p>I get them like this.</p>

<pre><code>var degress = $("div.wx-temp").text();
</code></pre>

<p>I want to append celcius values after the <code>sup</code> elements. </p>

<p>When I get the degress in <code>.each</code> function it parse the text like this: </p>

<pre><code>{8,9,°,F,9,1,°,F.........} 
</code></pre>

<p>I want to get only integers like this: </p>

<pre><code>{89,91,87,90,89}
</code></pre>

<p>How can I do this?  THANKS.</p>
