Possible Duplicate:
Get image data in Javascript?
Hello,
I've got a single div, which has a background already defined (note: its a single layer, on tag, or body background-image), and has an overlaying HTML5 canvas element which will let me draw on top of the background image.
I'd like to know how (if its possible) to create a button which when clicked, will save a snapshot of the div on the server side.
Example situation: I load page - > I draw something within the div -> I click save - > I go to repository - > I see my drawing (with the background and the user created overlay).
My current server side infrastucture is WinServer 2008 R2, IIS7.5, MSSQL 2000 RTM DBMS, Classic ASP application layer... Anything else you'd like to know?
Thanks for the assist in advance... :-)