Specifies the parameter name and its value to be passed to the server-side function, associated with current SimpleAjax object. You can run addParam more than once with different parameters and values.
Note: The server-side code does not execute until client script will not call getXML().
Parameter(s):
Name | Type |
---|---|
parm | String |
value | String |
Return:
Type | Description |
---|---|
Void | This method does not return a value |
Example:
var record_ajax = new SimpleAjax('incidents'); //Call script include record_ajax.addParam('sysparm_name', 'assignedToMe'); |