jquery is a cross-browser JavaScript library that simplifies the operation between HTML and JavaScript, which is excerpted from the jquery description on Wikepedia:
JQuery is open source software, licensed using the MIT License. [4] jquery's syntax design makes it easy to manipulate document objects, select DOM elements, create animations, handle events, and develop AJAX programs. JQuery also provides developers with the ability to create plug-ins on them. This allows developers to abstract the underlying interactions with animations, advanced effects, and advanced theming components. The modular approach enables the JQuery library to create powerful dynamic Web pages and Web applications.
jquery has the following features:
- Cross-browser DOM element selection
- Dom Patrol and change: support for CSS 1-3 and basic Xpath,jquery version 1.2 after the default cancellation of XPath support, instead of plug-in support
- Event (events)
- CSS manipulation
- Effects and animations (move display position, fade in, fade out)
- Ajax
- Extensibility (Extensibility)
- Tools: such as browser versions and
each
functions.
- JavaScript plugins
- Lightweight
jquery has been integrated in many application development frameworks, such as the PHP Yii framework and the Java EE Vaadin Web Application Development framework described earlier, Instead of using JavaScript, these frameworks can use the UI functionality of jquery using either PHP or Java. But knowing that jquery javascripts programming is a great help to better write Web pages, Microsoft and Nokia have announced the binding of jquery on their platforms. [5] Microsoft initially integrated jquery[6] in Visual Studio so that Microsoft's own ASP. NET AJAX framework and ASP. used in the. So if you're working in ASP. NET or SharePoint Web part or Application page development to understand jquery is especially important, this tutorial helps beginners to understand the basic development of jquery, and thus lay the groundwork for further learning of other WEB programming.
This tutorial uses Visual Studio for development tools, you can also use your own favorite development ide,visual studio to support JavaScript debugging, jquery uses the current latest version of jquery-1.9.1.js. Download to Local.
Create a website using Visual Studio and place the downloaded jquery-1.9.1.js in scripts
The added default.html has the following code framework as the basis for subsequent examples:
<!doctype html>