JavaScript
  Home arrow JavaScript arrow Introducing the jQuery JavaScript Library
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVASCRIPT

Introducing the jQuery JavaScript Library
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 3
    2009-08-12

    Table of Contents:
  • Introducing the jQuery JavaScript Library
  • Getting started using jQuery
  • More examples of the $() function and the click() method
  • Firing up a function with a mousedown event

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Introducing the jQuery JavaScript Library


    (Page 1 of 4 )

    Welcome to the first part of a seven-part series on the jQuery JavaScript library. In this article I will provide you with a quick overview of how to use the library, including its helpful $() function and the ready() method. The jQuery library allows you to build unobtrusive client-side applications with only minor effort, and its syntax is simple to grasp.

    As you know, a modern web site is comprised of three different layers, which come in useful for defining its structure, its visual presentation, and the appropriate behavior. Creating the first two modules of this multi-layered schema can be tackled by a web designer with relative ease; it requires defining the web site's structural markup and the CSS styles associated with it. But things can get more complicated when implementing the behavior of certain web page elements.

    Of course, this process implies developing unobtrusive JavaScript applications that must be tied to the structural markup of the web site in question. From a web designer's point of view, this could be a challenging and annoying task.

    Certainly, to facilitate the development of a fully-featured client-side application, a web designer can pick up a third-party JavaScript library, such as Prototype, Ext JS, or Mojo, which are all good and permit the user to write complex JavaScript programs without having to "reinvent the wheel." However, it's fair to say that many of these frameworks provide an application programming interface that can be pretty intimidating, particularly for those who only need to deal with plain HTML and CSS code.

    In light of this, a new contender has been incorporated into the long list of JavaScript frameworks available nowadays on the web, called "jQuery" (for more information, visit http://jquery.com/). It allows users to develop client-side applications very rapidly by means of a friendly syntax.

    In this article series, I'll attempt to provide you with a concise yet illustrative guide to using the main methods that come bundled with the "jQuery" JavaScript library to perform the most common tasks required by JavaScript programs. These include navigating a web page's DOM, manipulating CSS styles dynamically, working with Ajax, and so forth.

    Hopefully, by the end of this series, you'll be armed with a solid background on using the principal features provided by the "jQuery" package. Therefore, with the preliminaries out of our way, let's begin this educational journey now!

    More JavaScript Articles
    More By Alejandro Gervasio


       · If you've not used jQuery yet to add easily behavior to your web pages, then you...
     

    JAVASCRIPT ARTICLES

    - Comparing Fields and Customizing Error Messa...
    - Checking Numbers and File Extensions with jQ...
    - Validating Digits and Dates with jQuery`s Va...
    - Validating Ranges, Emails, and URLs with jQu...
    - More Uses for the jQuery Tooltip Plug-in`s b...
    - Building Image-Based Tooltips with the jQuer...
    - Using the jQuery Tooltip Plug-in`s bodyHandl...
    - Using Rangelength, Min and Max with the Vali...
    - Using Minlength and Maxlength with the Valid...
    - Modifying Tooltip Coordinates with the jQuer...
    - Applying a Fade Out Effect with the jQuery T...
    - Tracking Mouse Movements with the jQuery Too...
    - Checking Online Forms with the Validator jQu...
    - Nested JavaScript Functions as Objects
    - The jQuery Tooltip Plug-in







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek