hidden.Add
Overview¶
Add a new element to HTML hidden using "Server Script".
Syntax¶
Parameters¶
| No | Parameter | Type | Required | Overview |
|---|---|---|---|---|
| 1 | key | string | Yes | ID of hidden element |
| 2 | value | object | Yes | Value of hidden element |
Return Value¶
There is no return value.
Usage Examples¶
The following example converts an array of IDs of the groups to which it belongs to JSON and outputs them to the hidden element (ID:MyGroups).