Documentation

BX.getCookie

result_type
BX.getCookie(
 name
);

Returns the cookie value with the name.

Function parameters

Parameter Description
name Name

Examples of use

document.cookie = 'test=123456';
BX.getCookie('test'); // returns - 123456


© «Bitrix24», 2001-2024