Ajax writing User Registration examples and technical summary (3)

Source: Internet
Author: User
Tags error handling http request
Ajax| User Registration

Ajax Technology Summary

1. ajax (asynchronous javascript and xml) is a combination of Java technology, XML, and JavaScript programming techniques that allow you to build Web applications based on Java technology and break the practice of using page overloading. &NBSP

2. ajax, asynchronous JavaScript and XML, is a Web application development method that uses client script to exchange data with a Web server. This way, Web pages can be updated dynamically without interrupting the interactive process. With Ajax, you can create a direct, highly available, richer, more dynamic Web user interface that is close to local desktop applications.

3.  for browsers such as Mozilla﹑netscape﹑safari, Firefox, and so on, the xmlhttprequest  method is created as follows:

xmlhttp_request  = new xmlhttprequest (); The xmlhttprequest  methods such as

4. ie are created as follows:

Xmlhttp = new activexobject (" Msxml2.xmlhttp ") or Xmlhttp = new activexobject (" Microsoft.XMLHTTP ");

5. xmlhttp_request.open (' Get ',  url, true);  xmlhttp_request.send (null);
The first parameter of the
6. open () is the method of HTTP request-get,post or the way that any server supports that you want to invoke.   In accordance with the HTTP specification, this argument is capitalized; otherwise, some browsers, such as Firefox, may not be able to process the request. The second parameter is the URL of the request page. The third parameter sets whether the request is asynchronous mode. If the True,javascript function continues to execute without waiting for the server to respond. This is "A" in "AJAX".

The good use of Ajax technology adds a lot of friendly effects to our web pages, giving users a better feeling. Ajax is a good thing.

    • Ajax: A new way to build Web apps
    • Discussion on the error handling mechanism of AJAX (2)
    • Discussion on the error handling mechanism of AJAX (1)
    • First experience. NET Ajax Brushless New technology
    • A brief analysis of Ajax development Technology in Rails system (4)


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.