In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail what ajax and jquery mean. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
Ajax is a technology for creating better, faster and more interactive Web applications, while jQuery is a fast and concise JavaScript framework and another excellent JavaScript code base after Prototype.
This article operating environment: windows7 system, jquery1.2.6 version, DELL G3 computer
What are ajax and jquery?
Introduction to ajax:
Ajax, the new term Asynchronous Javascript And XML (Asynchronous JavaScript and XML), was coined by Jesse James Garrett in 2005 to describe a 'new' approach to using a collection of existing technologies, including: HTML or XHTML, CSS, JavaScript, DOM, XML, XSLT, and most importantly XMLHttpRequest. Using Ajax technology, web applications can quickly present incremental updates on the user interface without reloading (refreshing) the entire page, which enables the program to respond to user actions more quickly.
Source:
The term Ajax derives from describing everything from Web-based applications to data-based applications.
Ajax is not a new programming language, but a technology for creating better, faster and more interactive Web applications.
Use JavaScript to make a request to the server and process the response without blocking the user's core object XMLHttpRequest. With this object, your JavaScript can exchange data with the Web server without reloading the page, that is, it can produce a local refresh effect without the need to refresh the page.
Ajax uses asynchronous data transfer (HTTP requests) between the browser and the Web server, which enables a web page to request a small amount of information from the server instead of the entire page.
How AJAX works
Ajax can make Internet applications smaller, faster, and more friendly.
Ajax is a browser technology independent of Web server software. Ajax is based on the following Web standards:
The Web standards used by JavaScript, XML, HTML and CSS in Ajax are well defined and supported by all major browsers. Ajax applications are independent of browsers and platforms.
Web applications have many advantages over desktop applications; they can reach a wide range of users, and they are easier to install and maintain, and easier to develop.
However, Internet applications are not as complete and friendly as traditional desktop applications. Through Ajax, Internet applications can become more perfect and more friendly.
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.
Language features:
Get document elements quickly
JQuery's selection mechanism is built on Css's selector, which provides the ability to quickly query elements in DOM documents and greatly strengthens the way page elements are retrieved in JavaScript.
Provide beautiful dynamic effects on the page
JQuery has a series of built-in animation effects to develop very beautiful web pages, and many websites use jQuery's built-in effects, such as fade in and out, element removal and other dynamic effects.
Create an AJAX web page without refresh
AJAX is the abbreviation of asynchronous JavaScript and XML, which can develop very sensitive web pages without refresh, especially when developing server-side web pages, such as PHP websites, need to communicate with the server back and forth, if you do not use AJAX, every data update has to refresh the web page, and after using AJAX special effects, the page can be partially refreshed to provide dynamic effects.
Provides enhancements to the JavaScript language
JQuery provides enhancements to basic JavaScript structures, such as element iteration and array processing.
Enhanced event handling
JQuery provides a variety of page events that prevent programmers from adding too much event handling code to HTML, and most importantly, its event handler eliminates various browser compatibility issues.
Change the content of a web page
JQuery can modify the content of a web page, such as changing the text of a web page, inserting or flipping a web page image, and jQuery simplifies the way it would have to be handled with JavaScript code.
This is the end of the article on "what do ajax and jquery mean?". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
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.