jquery Programming Glossary: strdatauri
Email an image created on HTML5 canvas http://stackoverflow.com/questions/6150880/email-an-image-created-on-html5-canvas So an onclick event on the submit button that will make an ajax request to your backend php mailer script. var strDataURI oCanvas.toDataURL returns data image png base64 iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt... You just have to pass the strDataURI.. oCanvas.toDataURL returns data image png base64 iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACt... You just have to pass the strDataURI as a parameter. Now I think you should also save these in your database so that the email can just contain this image tag..
screen capturing using html2canvas http://stackoverflow.com/questions/7074292/screen-capturing-using-html2canvas capturing using html2canvas I am calling screenView from another class. I am able to call it but I am not getting strDataURI . What am I doing wrong function screenView var image var date new Date var message timeoutTimer timer var proxyUrl http.. alert in side ready renderer 'button' .prop 'disabled' false #content .empty var finishTime new Date var strDataURI renderer.canvas.toDataURL image jpeg image strDataURI alert last strDataURI d.close return image jquery.. false #content .empty var finishTime new Date var strDataURI renderer.canvas.toDataURL image jpeg image strDataURI alert last strDataURI d.close return image jquery ajax canvas share improve this question Why don't you..
|