Guest User

Untitled

a guest
Jun 20th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. // The client side code sends the canvas's content via
  2. // a jQuery post method to server
  3.  
  4. params = { imgdata : canvas.toDataURL('image/jpeg') };
  5. $.post('/save', params, function (data) { /* ... */ })
  6.  
  7. //...
Add Comment
Please, Sign In to add comment