In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the knowledge of "is jquery native?". In the operation of actual cases, many people will encounter such a dilemma. Next, let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Jquery is not native, but encapsulates many methods on the basis of native js and becomes a library of js; that is, jquery encapsulates the functional code commonly used by js, providing a simple JavaScript design pattern to optimize HTML document manipulation, event handling, animation design and Ajax interaction.
This article operating environment: Windows7 system, jquery3.2.1 version, DELL G3 computer
Is jquery native?
JQuery is an acronym for js+query, which can be understood as encapsulating a lot of methods on the basis of native js and creating a library of js.
Introduction to jquery:
JQuery is a fast and concise JavaScript framework, which is another excellent JavaScript code base (framework) released by John Resig in January 2006 after Prototype. JQuery is designed to be "write Less,Do More", which advocates writing less code and doing more. It encapsulates the common functional code of JavaScript, provides a simple JavaScript design pattern, and optimizes HTML document operation, event handling, animation design and Ajax interaction.
The core features of jQuery can be summarized as follows: unique chain syntax and short and clear multi-function interface; efficient and flexible CSS selector, which can be extended to CSS selector; convenient plug-in extension mechanism and rich plug-ins. JQuery is compatible with a variety of mainstream browsers, such as IE 6.0 +, FF 1.5 +, Safari 2.0 +, Opera 9.0 + and so on.
The difference between native js and jquery:
1. Native js and jquery entry function loading modes are different
two。 Native js waits until the dom element is loaded and the picture is loaded; jquery waits until the dom element is loaded, but not until the picture is loaded
3. On the problem of function coverage, when native js writes multiple entry functions, what is written later will overwrite what was written earlier; jquery will not overwrite but execute sequentially
This is the end of the content of "is jquery native?" Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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: 0
*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.