Code:
var img = canvas.toDataURL("image/png").replace("image/png", "image/octet-stream");
window.win = open (img);
setTimeout('win.document.execCommand("SaveAs")', 1000);
var img = canvas.toDataURL("image/png").replace("image/png", "image/octet-stream");
window.win = open (img);
setTimeout('win.document.execCommand("SaveAs")', 1000);
var img = canvas.toDataURL("image/png");
var objO = new ActiveXObject('Outlook.Application');
mItm.Attachments.Add(); // should add img??
var start = new Date();
$.ajax ({
url: 'https://www.example.com/perftest/dummyFile1024',
cache: false,
success : function() {
var total = (new Date() - start)
alert(total)
},
error : function(jqxhr, status, ex) {}
})
var img = document.getElementById('myimg');
var start = new Date();
$.ajax ({
url: 'https://www.example.com/perftest/dummyFile1024',
Leave a comment: