title: Reload multi webcam(jpg) IMG with jquery
body: <p>Just stated to play around with Jquery and Java. I stated to setup a page with sevral webcams and updating the live preview image using Jquery. Tryed to google around but I'm not able to find an "easy" solution for reloading sevral camera jpegs without reloading the complete page.
  So far I came up with this and it's "working"</p>
  
  <p><strong>Script part</strong></p>
  
  <pre><code> $(document).ready(function() {
          setInterval('updateCamera()',2000);
  });
  
  function updateCamera() {
          $('#camera1').attr('src','camera1.jpg?' + Math.random());
          $('#camera2').attr('src','camera2.jpg?' + Math.random());
          }
  </code></pre>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;img id="camera1" src="camera1.jpg" border=1/&gt;
  &lt;img id="camera2" src="camera2.jpg" border=1/&gt;
  </code></pre>
  
  <p>Anyone who got an better idea / solution for doing this? Like just updating the id element?
  Sorry if the question is abit "newbie" but there got to be an easier solution for this.</p>