JavaScript Remoting and Skuid

The approach documented under “From a Static Resource” in that article is the proper way to go.

For instance, if your VF Page’s Apex Controller is called “TurboThrusters” and it defines a RemoteAction named “Engage” that expects a single number argument, then your JavaScript would call it like this:

var thursterPower = 50;

TurboThrusters.Engage(thrusterPower,function(result,event){
   if (event.status) {
       console.log(‘Got response back from server okay’);
      console.log(result);
   }
});