What are the common problems with Ajax? _ajax related

Source: Internet
Author: User
One, JS script caching problem

A: This problem is one of the most common problems that you have encountered because of the modification of JS content debugging
Does not show the results of the new write code, because JS in order to speed up the page execution, the current page will use the cache to maintain
The same connection as the current call. For easy debugging at development time, you can add a random function to the back of the connection address.

As the original address: Header.js increased random after header.js?12581

Second, local debugging JS script does not work

A: Because of the need for head support when using AJAX to pass parameters, we can only do so under the site
Success, such as we put under Apache or under IIS for debugging.

Third, debugging code to find errors difficult

A: This is JS debugging has been a long time problem, simple point we can use IE default prompt error box, there are
Is that we can use DW CS4 to provide the correct error, or through professional plug-ins such as: Firbug, etc.
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.