Javascript works inside Text Area edit box but not outside of it


I'm trying to implement Javascript into a singular Text area and it works perfectly as long as I'm inside the Text edit area. 

When I close the text area it doesn't work at all. I also don't receive any Error messages.

Other Javascript code works normally in this document so Javascript didn't crash in general.

Does anybody have an idea how to deal with this issue?

My Spotfire Version:

Best regards,



(1) Answer