cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Call Javascript function in included js file

Jump to solution

I have included a js file, and trying to call the function inside the js file but nothing happened, am i wrong syntax? thanks.

Tags (2)
0 Kudos
Reply
1 Reply
Workflow Hero

Re: Call Javascript function in included js file

Jump to solution

Hi Joe Lau‌,

To be sure that your called method works, the control it tries to access needs to be available in the DOM. As such you should call your function AFTER the Nintex Form has been loaded/rendered in the browser using the following snippet:

NWF$(document).ready(function(){

     abc();

});

0 Kudos
Reply