title: Parse xml in jquery and store the xml element in array
body: <p>I have the following xml structure:</p>
  
  <pre><code> //xml
  &lt;ArrayofTech&gt;
   &lt;TechJobs&gt;a&lt;/TechJobs&gt;
   &lt;TechJobs&gt;b&lt;/TechJobs&gt;
  &lt;/ArrayofTech&gt;
  </code></pre>
  
  <p>I would like to store in array the above TechJobs nodes xml like: Array.push(Techjobs). I have to store each TechJobs node into an array. How to parse this xml .The Code which i have tried is shown below:          </p>
  
  <pre><code>$(xml).find("TechJobs").each(function () {
  array.push($(this));
  }
  </code></pre>
  
  <p>How to fix this?</p>