You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// download QR Code Image as JPG
var download_button = document.getElementById('download_button');
download_button.addEventListener('click', function (e) {
// taking the created canvas element of the QR Code
var canvas = document.getElementsByTagName('canvas')[0];
if(canvas){
var tmpJPG = canvas.toDataURL("image/jpg");
download_button.href = tmpJPG;
}else{
e.preventDefault();
alert('no qr code');
}
});
// for more on skype: +8801750988184
How to do download qrcode image after to render?
When render: "canvas" I get this HTML code:
When render: "table" I get this code:
The text was updated successfully, but these errors were encountered: