XMLHttpRequest API

Enables you to transfer data to and from a server without
reloading or replacing the current document.

4.6 or later

Object: XMLHttpRequest

Availability

BlackBerry
Device Software version 4.6 or later

The XMLHttpRequest object enables you to transfer data to and from the server without reloading or replacing the current document.

To make an HTTP request, you create the instance of the object, open a URL, and send the request. The HTTP status code of the result, as well as the result document are available in the request object afterwards.

Because it allows you to communicate with a server in the background, the XMLHttpRequest object enables you to create extremely dynamic documents.