I have 2 javascript files 1)ParentFile.Js 2) ChildFile.js. Now In ParentFile.js i have a method “CallParentMethod(param1, param2)”. In ChildFile.js i want to call the “CallParentMethod(param1, param2)” method. Also i need to include the external javascript reference in the ChildFile.js.
I am using injectjs activity to call the javascript file.
Can someone pls guide.