JQuery - Including The Library

Including The Library

The jQuery library is a single JavaScript file, containing all of its common DOM, event, effects, and Ajax functions. It can be included within a web page by linking to a local copy, or to one of the many copies available from public servers. jQuery has a CDN sponsored by Media Temple (previously at Amazon). Google and Microsoft host it as well.

The most popular and basic way to introduce a jQuery function is to use the .ready function.

$(document).ready(function { // script goes here });

or the shortcut

$(function { // script goes here });

Read more about this topic:  JQuery

Famous quotes containing the words including the, including and/or library:

    You have got to prepare for a lifetime of the pillory, for whatever you do will be seen as wrong by total strangers, up until and including the time when whatever your child does will be seen as wrong by total strangers.
    Sonia Taitz (20th century)

    A creative writer must study carefully the works of his rivals, including the Almighty. He must possess the inborn capacity not only of recombining but of re-creating the given world. In order to do this adequately, avoiding duplication of labor, the artist should know the given world.
    Vladimir Nabokov (1899–1977)

    The fear of failure is so great, it is no wonder that the desire to do right by one’s children has led to a whole library of books offering advice on how to raise them.
    Bruno Bettelheim (20th century)