BX.ajax.loadJSON
XMLHttpRequest BX.ajax.loadJSON( string url, function callback[, function callback_failure] );
or:
XMLHttpRequest BX.ajax.loadJSON( string url, object data, function callback[, function callback_failure] );
The function loads json-object from the specified url and passes it to the callback handler.
Function parameters
Parameter | Description | url | URL address |
---|---|
data | GET-query data |
callback | Handler |
callback_failure | error situation handler |
© «Bitrix24», 2001-2024