Javascript function "setTimeout" not working inside svg script tag
Hello,
I am trying to execute some script inside an script tag of an svg graphic. All is working fine except for the "setTimeout" function. I am pretty sure that this had worked a few year before. Here is my example code:
I would expect to see an alert window every second. This is working in IE11 but not in the latest Firefox. Is this a bug or a feature? :-) I just wanted to ask here first before creating a bug report. Thank you for your answers in advance!
Modificadas por sebitnt el
Solución elegida
It works for me.
Leer esta respuesta en su contexto 👍 0Todas las respuestas (3)
The code has been removed. Here it is: https://pastebin.com/mkdMiQ83
Solución elegida
It works for me.
Thank you for trying! I was fiddeling around with this problem for some hours now. After reading your answer and restarting Firefox, the problem is gone. Strange, but it is working now. Thank you!