Quote:
Originally Posted by Kristi
When using triggeraction in gs2, you trigger something on the serverside, then the serverside function has
function onActionServerside(passed1,passed2) {
whatever;
}
however, in the case of a triggered function ONLY, you do not have to define the parameters, so if you did
function onActionServerside() {
and triggered it with parameters, since they were never given name, they will be referred to as param[0], param[1], etc
|
You don't
need to define
any parameters when calling the serverside action (in the actual function, I mean, not the trigger), which is what it is -- an action. When you trigger, you trigger to action functions that in turn read any information you sent over as parameters.