title: Unable to get Image Src with Javascript in Android Browser
body: <p>I'm having some issues with getting img src in javascript.
  Javascript:
  My code is as follows</p>
  <pre><code>function getSrc()
  {
  var testImg = qrCodeDiv.getElementsByTagName('testImg');
  alert(testImg.src);
  }
  </code></pre>
  <p>HTML:</p>
  <pre><code>&lt;img src=&quot;./images/payment/1.jpg&quot; id=&quot;testImg&quot;&gt;A Random Image&lt;/a&gt;
  </code></pre>
  <p>The function is called on click. testImg.src returns undefined in Android.
  The code works fine on PC.
  I looked around, did'nt find any other topics that were similar.</p>
  <p>Please help.</p>