In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article focuses on "how to solve the problem that the jquery element can not be found". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "how to solve the problem that the jquery element can't be found".
Jquery element can not find the solution: 1, view the corresponding code file; 2, check the error through debug; 3, remove the point in id.
This article operating environment: windows7 system, jquery3.2.1 version, DELL G3 computer
What if the jquery element cannot be found?
Jquery cannot get the specified element using $
The specific code is as follows:
Var id='#'+screen.timeleftvar timeCountDown = $(id)
Then the timeCountDown is always empty, and the debug discovers:
The reason is that id contains "." After removing it, the element is found.
Var id='#'+screen.timeleft.replace (/\. / g, ") .replace (/\: / g,") .replace (/\-/ g, ") var timeCountDown = $(id)
And then it's normal.
At this point, I believe that everyone has a deeper understanding of "how to solve the problem of jquery element can not be found", might as well come to the actual operation! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 213
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.