Question

3
Replies
261
Views
MohammadS4753 Member since 2013 49 posts
Accenture
Posted: December 15, 2019
Last activity: December 16, 2019

How to call one function of a JS file from another function of different JS file

Hi All,

I am trying to call a function of one js file from another function of a different js file, is there any way in pega to achieve this? i am trying to use eval function in one js file to execute another function in different js file. both the JS files are included in scripts of harness. But i don't see trigger (debugging using alert) passed to another js using eval function. Initial js file is invoked from a button click event.

Is there any way that we can achieve this?

Low-Code App Development User Interface
Share this page LinkedIn