title: How to put image in anchor tag dynamically using javascript
body: <p>I have dynamically created image in javascript. I want img to be placed inside an anchor tag how can i do this?</p>
  
  <pre><code>        var element = document.createElement("img");
          element = cell.appendChild(element);
          element.setAttribute("src", "/Images/Delete.gif");
  </code></pre>