Partager via


Support for AJAX

4/8/2010

Internet Explorer Mobile supports the set of tools that lets you use a method known as Asynchronous JavaScript and XML (AJAX). AJAX enables you to create new dynamic Web pages on the Windows Mobile device and improve existing dynamic pages for the Windows Mobile device.

The following table shows the components that the Internet Explorer Mobile Web browser must support so that AJAX can function on the Windows Mobile device and includes a description of each component.

  • JavaScript (also known as JScript or ECMAScript)
    JavaScript, (also known as JScript), is a language that is run locally by the browser. JScript enables the writer to access data on the page through the Document Object Model (DOM).

    Using the IXMLHTTPRequest or ActiveX object, JScript can access data, and elements of XML files, that are on the server.

  • XMLHttpRequest or IXMLHTTPRequest Members Class
    A class in the XML DOM that reads and writes asynchronously to a server

When you use AJAX, you construct a communication object, send data to a server, and then receive returned data under the control of script functions. This process uses Jscript to manipulate data in a style that creates dynamic Web pages that do not have to download complete Web pages every time that something changes. The power that is in the local browser performs and controls the dynamic changes on the page.

For example, an AJAX -enabled dynamic Web page enables the local JScript to access data that is ois located on server, in order to verify the contents of a form. Using access to server-based data makes filling in a Web-based form timelier. The submitted data can be processed, verified and displayed on the dynamic Web page, circumventing the requirement to send the data to the server and then reload and display a new Web page.

See Also

Reference

Support for WML

Concepts

Support for Images and Sound on a Windows Mobile Device
Browser Windows and Window Navigation Management
Limitations of the object Tag
Office 2000 and Office XP HTML Support
Support for the WIDTH Attribute on Tables

Other Resources

Mobile Web Site Design Overview