GlideAjax - addParam(String parm_name, String parm_value)

Specifies a parameter name and value to be passed to the server-side function associated with this GlideAjax object.

You can execute addParam multiple times with different parameters and values.
Note: The first call to addParam should be with the parameter sysparm_name and the name of the server-side method you want to call. The server-side code does not execute until the client script calls getXML().
Table 1. Parameters
Name Type Description
parm_name String The name of the parameter to pass. (The name must begin with the sysparm_ .)
parm_value String The value to assign to parm_name.
Table 2. Returns