Documentation

BX.ajax.get

This function allows two variants of input parameters.

XMLHttpRequest 
BX.ajax.get(
 string url,
 string|object data,
 function callback
);
XMLHttpRequest 
BX.ajax.get(
 string url,
 function callback
);

Sends GET-request and passing the result to the callback handler.

Function parameters

Parameter Description
url URL address
data String or an associative array of a request GET-parameters (which can be specified in the address)
callback Handler


© «Bitrix24», 2001-2024
Up