Hi,
I'm using the CallJS plugin presently to call functions I have in an external script in the following way:
callJS: execute myFunction();[/code:38uehlgw]
[i]myFunction is located in someScript.js[/i]
This is currently working well, however I want to be able to pass in global variable as parameter like so:
[code:38uehlgw]callJS: execute myFunction(someGlobalVariable);[/code:38uehlgw]
The reason for this is I want to use the global variable in further scripts which eventually will be passed to my API so that I can store data and scores. How can I do this?
Any help will be much appreciated.