Save modification made by a ecmascript on svg file

Mister Vanhalen mistervanhalen at
Tue Sep 11 09:46:30 PDT 2012

Hello everyone,

I created a small program in an svg file.
I can color some parts of my svg file thank to a ecmascript script.
But when I save my svg after changing color in a navigator, I didn't get a
modified svg.

My svg is the same as the initial.
In my ecmascript I use x.setAttribute("fill", "blue").... and some other
function to change the visual.

I would like to save when I modify color in a navigator (like an
usual program).

- I open my svg in a navigator
- I change the color (through the ecmascript)
- I save the svg in my navigator with the modifications

How can I manage the question?

Thank you for your help,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list