Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Save SVG file with JavaScript

 
Johanna Pelkonen
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I'm making an SVG application with JavaScript. Users can draw circles, polygons, etc. as they wish. I need a feature that users could save the file they have made. In PHP there is a function saveXML() that returns created XML file as text. Is there anything similar for SVG and JavaScript?

Thanks for help!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic