The jQuery Library
The Write Less, Do More Javascript Library for Web Developers
Meet jQuery
When I first heard about jQuery, I heard that it was a Javascript library that allowed you to chain and invoke several methods in one line of code. This chainable approach did not get my attention at first, as I was not impressed with the idea of calling several methods on one line. But it was not until I had seen the following online movie (created by John Resig) that really opened up my eyes to the true power of the jQuery library:
What can jQuery do for you?
With just a few lines of jQuery code you can perform complex tasks that would normally take you sometime to figure out. Here’s a short list of some of the things that you can do with jQuery:
- Develop web applications in half the time with the jQuery library
- Handle Ajax client/server calls and events
- Handle Browser Events
- Easily traverse HTML and XML documents.
- Use CSS selectors to quickly access any element inside the HTML DOM
- Perform animations such as slides, fades, blinds, puff, etc.
- Write Less, Do More with jQuery’s chainable and easy to use methods
- Quickly convert an element into a jQuery component using any one of hundreds of plugins that are available on the Internet.
Getting Started
There’re a lot of tutorials and manuals available for the jQuery library but I’ll just quickly walk you through the stages required to build your jQuery enabled first web page.
First you will need to download the jQuery Javascript library from the jQuery website http://jquery.com/.
Note: You can download either the minified, pack or uncompressed version of the library but I would recommend that you download the uncompressed version, so you can later have a look at the source code.
Next, rename the downloaded file to jquery.js and copy the it to a folder on your hard disk or website.
Create or edit a web page that you want to include the jQuery library and include the jquery.js file as follows:
<script type="text/javascript" src="path/to/jquery/jquery.js"></script>
Now you’re ready to try the Live Examples at the jQuery website.
Online Tutorials
- How jQuery Works
http://docs.jquery.com/Tutorials:How_jQuery_Works - jQuery For Designers
http://docs.jquery.com/Tutorials:jQuery_For_Designers
Stay tuned to this website for upcoming jQuery Tips and Tweaks. You can subscribe to this blog feed by Email or using an RSS reader.
Write a comment
- Required fields are marked with *.
Posts: 3
Reply #2 on : Mon June 02, 2008, 21:33:09
Posts: 3
Reply #1 on : Fri May 30, 2008, 21:17:55
Subscribe to Feed by Email
Posts: 3
Reply #3 on : Tue February 02, 2010, 13:25:50