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

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Can we add multiple JS in events

Rakesh_kumar_S
13-Aquamarine

Can we add multiple JS in events

Can we add the multiple JS in events

 

ACCEPTED SOLUTION

Accepted Solutions

It should actually work:

2023-07-04_14-07-50.jpg

But it should be better to group the both function in the js code - function defintion

$scope.app.myNewFunction= function(){
$scope.setSequnece("sequence1");
//or $scope.app.setSequnece("sequence1");
// if defintion in app
$sope.B1();
}

and then call app.myNewFunction(); in UI

View solution in original post

1 REPLY 1

It should actually work:

2023-07-04_14-07-50.jpg

But it should be better to group the both function in the js code - function defintion

$scope.app.myNewFunction= function(){
$scope.setSequnece("sequence1");
//or $scope.app.setSequnece("sequence1");
// if defintion in app
$sope.B1();
}

and then call app.myNewFunction(); in UI

Announcements

Top Tags