Troubleshoot javascript errors

Source: Internet
Author: User

This blog has to be written. It wastes me a morning. In order to quickly find errors in this area in the future, saving more time.

This is the case: I wrote a background management system that references Marix Admin, because this system contains many frameworks, such as jquery, bootstrap, and its own framework system marix, A lot of js and css files. When you want to introduce an external framework, it will conflict with the original library file, and there is a writing format problem.

For the above two problems, the solution is as follows:

First, check the website effect. If html is not displayed, it may be in html format. If css is not displayed, it may be because css files are not introduced. There may also be library file conflicts.

First: writing format problems

First, find the official website, download the demo, and write it according to the demo.

If the format is correct, the database file conflicts.

Second: conflicts with the original Library File

After html is written according to the format, it cannot be displayed after the imported file (css, javascript.

Comment out all the original library files to see if they can be displayed.

If the file is displayed, check the file one by one and find the file in conflict.

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.