title: Insert image from the path in the html table using jquery/javascript
body: <p>I have a html table with id. It has two columns, the first one has text and the second column has a path to images that should be the background in the first row.</p>
  <p>The second column must be hidden, but the cells in the first row must have the background based on the image path present in the second column.</p>
  <p>Thanks in advance!</p>
  <p>HTML CODE!</p>
  <pre><code>&lt;html&gt;
      &lt;head&gt;
          &lt;title&gt;Table&lt;/title&gt;
          &lt;style&gt;
              #tab1, table, tr, td{
                  border: 1px solid;
              }
          &lt;/style&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;table id=&quot;tab1&quot;&gt;
              &lt;tr&gt;
                  &lt;td&gt;apple&lt;/td&gt;
                  &lt;td&gt;c:\Users\bta\Pictures\apple_logo.png&lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td&gt;orange&lt;/td&gt;
                  &lt;td&gt;c:\Users\bta\Pictures\orange_logo.png&lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td&gt;mango&lt;/td&gt;
                  &lt;td&gt;c:\Users\bta\Pictures\mango_logo.png&lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td&gt;peach&lt;/td&gt;
                  &lt;td&gt;c:\Users\bta\Pictures\peach_logo.png&lt;/td&gt;
              &lt;/tr&gt;
          &lt;/table&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>