Posted: 13 Oct 2015 11:39 EDT Last activity: 9 Aug 2017 7:01 EDT
How can i execute java script function from an activity
I want to be able to do "Run a Script" action event from an activity. how can i achieve this? I want to run a java script function which is in a .js file included in Scripts and Styles of the harness. i know i can do this from an action/event but in my case i need to do it from an Activity. Please advise. Thanks.
An activity runs on the server and a script runs on the client. There is no direct way to get any server method to call a client method. If you describe what you are trying to accomplish perhaps someone will have a different way of getting it done.