07-31-2009 04:42 PM - edited 07-31-2009 04:54 PM
I read in this forum that only BlackBerry 9000 suports AJAX. But i need a document about that. Where can i find this ?
And it is only enable in 9000 or in all 4.6 version ?
Thank´s a lot
07-31-2009 05:04 PM
Support for AJAX and the XMLHttpRequest object
The BlackBerry® Browser introduced support for the XMLHttpRequest object in BlackBerry® Device Software version 4.6. You
can use the XMLHttpRequest object to transfer data between the BlackBerry Browser and the web server without reloading the
entire web page. You can use this object to send and retrieve XML, HTML, plain text, or other data types in the background.
Because access to the DOM is also available, you can update the web page when new data or content is retrieved to create
extremely responsive and dynamic web pages.
However, because of the slower data transfer rates in a wireless browsing environment, requests made by this object should
almost always be asynchronous.
The XMLHttpRequest object can help to reduce the perceived latency that marks wireless browsing. Because requests are made
in the background, the user can continue to work with the current web page while new data is retrieved. Because smaller amounts
of data are parsed, the BlackBerry Browser can render modifications to the web page quickly.