title: Sending the html code of a canvas in client web page to server?
body: <p>this may be a stupid question.. but i decided to give it a try here...</p>
  
  <p>i am developing a web application using AJAX to do the interactions between client and server(python/django).</p>
  
  <p>now in the client page, there is a canvas which contains a dynamically generated image; i want to get this image and send this image to server, however, i can't use Canvas.toDataURL() due to the violation of canvas security rule (client and server must be in same domain in this case).</p>
  
  <p>so I am just wondering whether it's possible to get the canvas element and send its HTML back to server, then let server process it and extract its image data?</p>
  
  <p>appreciate any advice!</p>