Hi
I'm executing a service from javascript. This works:
startScreenQR.execute();
But I need to do something like this:
var myService = "startScreenQR";
myService.execute();
This obviously doesn't work, and I get this:
Uncaught TypeError: Object startScreenQR has no method 'execute'
Is there a way of passing the service name as a variable?
Thanks
John