HI,
i implement the paint using JavaScript.
its work successfully in Mozilla firebox.
now i m trying for save the image to hard drive.
i use to DataURL it also working but it display the image in browser
i use it as-
[button on click ="location = document.get Element By Id 'canvas'.to Data URL" ]save[/button]
its working.
now i use the function as-
function save:
var canvas = document.get Element By Id "canvas";
var data url = canvas.to Data URL;
save Image URL ( dataurl,null,"Save Image Title", false, false, null);
:
its gives the error as:
Error: saveImageURL is not defined
Source File:
http://localhost:8080/Canvas/index.html Line: 160
what is wrong what i use for save the image at local m/c.