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

Community login and other support tools will be unavailable Saturday May 3rd 9:00 am to 3:00 pm (EST) due to planned maintenance. Learn More

Translate the entire conversation 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