Home > Article > Web Front-end > Summary of js error checking process_javascript skills
Generalization is for better understanding. Inspired by the jQuery "Discussion" (http://docs.jquery.com/Discussion) page, my colleagues usually come to me to help solve problems when they have problems. They are usually very small problems. In this case, it is not that they lack the knowledge to solve the problem. , but need to find a solution to the problem. People are always willing to help, and having a good error checking process can filter out many simple and small problems^^.
1. Make sure your page element tags are valid
2. Use debugging tools (for example: Firebug) to see if there are exceptions
3. Reference files or Whether dependent modules or methods are valid
4. Reduce to the minimum test cases (keep deleted things until the problem disappears, etc.)
5. Keep the problem description as concise as possible and keep necessary details