title: jQuery mobile image array. How to add another div with image array?
body: <pre><code>var aryimageSet1=["img1.jpg","img2.jpg"];
  var aryimageSet2=["img3.jpg","img4.jpg"];
  
  /..some code../
  
  $objImage = $("#div1")
  $ary = aryimageSet1;
  </code></pre>
  
  <p>When I run this code, and then swipe on the tablet over that div1 space, it switching my images like it suppose to.</p>
  
  <p>Can anyone tell me, how can I declare another div2 in jQuery?</p>
  
  <pre><code>$objImage = $("#div2")
  $ary = aryimageSet2;
  </code></pre>
  
  <p>Im using jQuery mobile. When I finger swap over certain #div on the tablet, it will loop images (exp. img1.jpg - img2.jpg). What I'm trying to do now is I made another #div in the HTML and I need to add another image array. And I not sure how. Any help is greatly appreciated.</p>
  
  <p>Thank you.</p>