Sourabh Dhiman

Sourabh Dhiman

  • NA
  • 323
  • 57.8k

Error Now jquery

Jun 27 2019 3:00 AM
$(document).ready(function () {
setTimeout(function () {
var element = document.getElementById('reservationticketprint');
var getCanvas;
console.log('canvesData');
html2canvas(element, {
onrendered: function (canvas) {
getCanvas = canvas;
var imgageData = canvas.toDataURL("image/png");
jQuery('#reservationticketprint').attr('data', imgageData)
 
I can convert html table into canvese data. but cannot convert .plzz solve this code error 

Answers (1)