title: How to take screenshot of a div using javascript?
body: <p>Say for example i have a div with image source</p>
  
  <pre><code>&lt;div&gt;
  &lt;p class="row"&gt;With custom CSS&lt;/p&gt;
  &lt;img src="/images/midhun.jpg"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>On button click i need to open this image screen shot in another div</p>
  
  <p>Can you tell the steps to take the screen shot of that image</p>