SVG question

Submitted by KiloNova on December 20, 2025
I keep getting the wonderful 'unknown error' message when trying to upload an SVG with some JavaScript in it. Thought you were able to use JavaScript in an SVG though, anyone have a clue to why this is happening?
11 Comments
+1
Level 83
Dec 20, 2025
Script usually won’t be an issue for uploading to JetPunk. Try just opening the SVG file in a web browser. Does it open there? Or does it have errors?
+1
Level 61
Dec 20, 2025
It doesn't seem to, no
+1
Level 83
Dec 20, 2025
If it doesn’t open properly in a web browser, then it’s probably an issue with the SVG and not with JetPunk compatibility.
+1
Level 61
Dec 20, 2025
Sorry, I meant it doesn't have any errors. It seems to work fine.
+1
Level 83
Dec 20, 2025
Huh. What script container are you using?
+1
Level 61
Dec 20, 2025
I'm using the XML editor in Inkscape, so I used the onclick attribute box
+1
Level 83
Dec 20, 2025
I’m not sure that container works in JetPunk.
+1
Level 61
Dec 21, 2025
Ah, probably it then. Thanks
+3
Level 51
Dec 20, 2025
Mabye jetpunk has caught the flu
+6
Level 72
Dec 20, 2025
surely jetpunk gets vaccinated
+1
Level 68
Dec 22, 2025
winter sickness, am i right?