First Ajax example

Source: Internet
Author: User
Today, I learned the Ajax tutorial under w3cschool, and started to learn about Google suggest's Ajax effect.Program. The results can run normally under IE and Safari, but there is no response under Firefox and Google Chrome, the method is used up, there is no response, and I don't know where the problem is! In the evening, Mr. Tian helped me check and found the problem. The HTML and JS files and ASP files are not stored in the same virtual directory of the IIS server. As a result, the XMLHTTPRequest object created by Firefox and Google Chrome cannot read the HTML page. I don't know why iei and the Apple browser can be used either. The reason is that the activexobject object of IE can read the HTML page in the disk directory, it treats every form as a sheet E. it turns out that the environment is not well matched! It's wise!
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.