title: How to call ID through local Variable
body: <p>if am having html </p>
  
  <pre><code>&lt;TableView id=img1&gt;&lt;/TableView&gt;
  &lt;TableView id=img2&gt;&lt;/TableView&gt;
  </code></pre>
  
  <p>normally</p>
  
  <pre><code>  $.img1.backgroundImage = "/Picture1.jpeg"
  </code></pre>
  
  <p>but I want to know how to store the <code>id</code> in local variable and call the same function, in place of <code>img1</code> I have to use local variable. is any possibility of this.</p>