title: convert div into image data using jquery
body: <p><br>
  I have a html page. In which I have a button, whenever I click this button it should convert the entire html page into data image. I achieved this by using html2canvas as follow:</p>
  
  <pre><code>html2canvas([document.getElementById('form1')], {
          onrendered: function (canvas) {
              var imageData = canvas.toDataURL('image/jpeg',1.0); 
       }
      });
  </code></pre>
  
  <p>It is giving me the image data but without checkboxes and radio buttons. So is there any alternative to convert the html page to image data using jquery or javascript?? <br>
  If there, please help me to come out from this problem.<br>
  Thank you in advance.</p>