title: Iterating jquery each loop for two arrays at once
body: <p>I have two Javascript arrays of same size</p>
  
  <pre><code>var demo=new Array();
  var demo3=new Array();
  </code></pre>
  
  <p>I need to access the value of the two array in one each loop in JQuery code.After surfing for a while I came across zip operation and I tried using the code</p>
  
  <pre><code>$.zip(demo,demo3).each(function(){                                   
      alert("demo "+this[0]);
      alert("demo3 "+this[1]);      
  });
  </code></pre>
  
  <p>However this code does not work.Please help.</p>