How to access a function from a global function
Hi All!
I have a set of symbols which has to be turned off at a specific click...
There for I created on top of the code a global function, like this:
function hideSymbols()
{
console.log("inside hideSymbols");
sym.$("Stage_hoofdVraag1").hide();
console.log("Job done!");
}
There is a symbol called: "hoofdVraag1", I am able to turn it on and off in an event handler but not in a global function.
The function hideSymbols prints the message correct and after that I get the error: Javascript error in event handler! Event Type = element
What am I doing wrong?
Thanks in advance!
Greetings,
Marco
