is there SUCCESS or COMPLETED events available when invoiking a service manually via JS? what's the syntax?
service_name.execute({});
is there SUCCESS or COMPLETED events available when invoiking a service manually via JS? what's the syntax?
service_name.execute({});
Hi Eric,
Yes. Syntax is following:codeservice_name.execute({
success: function( e ) {
//Success handler here
},
error: function( e ) {
//Error handler here
},
complete: function( e ) {
//Complete handler here
},
});/code