A JS-led solution to the jquery failure problem _javascript tips

Source: Internet
Author: User

Engage in web development, the most headaches is the JS problem, not PHP program development, front-end page, JS really too let people toss, especially JS, you do not know where there will be problems, all kinds of compatibility also need to take into account, unlike the writing program, you only care about how to achieve the logic, how to write. JS file a problem, the impact of other JS operation, today encountered a very tangled things, a JS caused by the inexplicable problem.

This JS is a function to enhance the effect of the page, but with it, jquery in some pages can be used, some pages are invalid, with Firefox firebug debugging, found in some pages will be an error, get the location of the page will be wrong. It turns out that jquery is not valid as long as there is no paging, because JS does not get the paging position.

Omit 800 Words in the middle, adjust the front end what the most annoying, I am not a front-end development engineer, these problems should also be resolved by the front-end staff, but as a developer of PHP Web site, can try to solve the problem itself.

Later to determine the problem of the JS file to the bottom, the problem is solved, really puzzling! May be a problem place to the end, it will not affect the back of the JS run, this is an experience.

You say I have no reason to say!

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.