websch/extras/server-save/svg-editor-save.js

4 lines
99 B
JavaScript

this.saveHandler = function(svg) {
$.post("svg-editor-save.php", { svg_data: escape(svg) } );
});