This function returns the attribute and a JavaScript boolean of true, false, or null.
Syntax
APEX_JAVASCRIPT.ADD_ATTRIBUTE (
p_name IN VARCHAR2,
p_value IN BOLLEAN,
p_omit_null IN BOOLEAN:=TRUE,
p_add_comma IN BOOLEAN:=TRUE)
RETURN VARCHAR2;
Parameters
Table 13-4 describes the parameters available in the ADD_ATTRIBUTE function signature 3.
Table 13-4 ADD_ATTRIBUTE Signature 3 Parameters
| Parameter | Description |
|---|---|
|
|
Name of the JavaScript object attribute. |
|
|
Boolean assigned to the JavaScript object attribute. |
|
|
If |
|
|
If set to TRUE a trailing comma is added when a value is returned. |
Example
See example for ADD_ATTRIBUTE Function Signature 1