title: i am able to get the the text results how can i push them into array
body: <p>I am able to get all the contact numbers,but result is coming in text format(<code>8045318762</code>,<code>9632427326</code>).</p>
  
  <p>How can I store them into <code>array</code> like <code>["9632427326","8045318762"]</code>.
  I mean similar to push.</p>
  
  <p>My DOM is:</p>
  
  <pre><code>&lt;span style="font-weight:bold;" class="number"&gt;
    &lt;span id="mob0"&gt;0
   &lt;/span&gt;8045318762      
   &lt;script type="text/javascript"&gt; whichVer('ver0'); &lt;/script&gt;
  &lt;/span&gt;
  &lt;span style="font-weight:bold;" class="number"&gt;
    &lt;span id="mob1"&gt;1
   &lt;/span&gt;9632427326  
   &lt;script type="text/javascript"&gt; whichVer('ver1'); &lt;/script&gt;
  &lt;/span&gt;
  
  **I am using something like this:**
  </code></pre>
  
  <p>which returns only text i want array(similar to push).</p>
  
  <pre><code>alert($('.number').contents().filter(function() {
    return this.nodeType == 3;
  }).text());
  </code></pre>
  
  <p>Please help, thanks in advance.</p>