Developer Function: Server Script: context.AddResponse
## Overview
The "[Server Script](/en/manual/table-management-server-script)" returns an arbitrary client response.
## Syntax
```
context.AddResponse(method,target,value)
```
## Parameter
|Parameter|Type|Overview|
|:--|:--|:--|
|method|string|Specify the operation type of the response. Refer to the method section below. |
|target|string|Specify the ID of the target element. |
|value|object|Specify the element or value. |
### Method
|Type|Description|
|:--|:--|
|ReplaceAll|Replace the element specified for target above with the element specified for value. |
|Set|Store information in the form. |
## Return Value
There is no return value.
## Usage Example 1
In the following example, the field for classification C is replaced with \<div style="color:red">Pleasanter\</div>.
```
context.AddResponse('ReplaceAll','#Results_ClassCField','<div class="field-normal" style="color:red">Pleasanter</div>');
```
## Usage Example 2
In the following example, the following information is stored in the form ($p.data.MainForm).
【Information to store】
・Item: NumA Item
・Value: 123
```
context.AddResponse('Set','NumA',123);
```
## Related Information
<div id="ManualList"><ul><li><a href="/en/manual/table-management-server-script">Table Management: Server Script</a><span>08.13.2024 up</span></li></ul></article></div><input id="SearchTextHidden" type="hidden" value="" />