You need to sign in to do that
Don't have an account?
Pass unknown number of parameters to JavaScript Remoting
Hi guys,
Is there a way to pass an unknown number of parameters (variable "args" below) to JavaScript Remoting like:
Thanks!
Is there a way to pass an unknown number of parameters (variable "args" below) to JavaScript Remoting like:
function remoting(target, ...args) { Visualforce.remoting.Manager.invokeAction( configSettings.remoteActions[target], args, function (result, event) { if (event.status) console.log(result); }, { escape: false } ); }
Thanks!
Hope that helps