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.
or the shortcut
$(function { // script goes here });Read more about this topic: JQuery
Famous quotes containing the words including the, including and/or library:
“A successful restaurant makes everything in it, including the patrons, seem a little better than they are.”
—Mason Cooley (b. 1927)
“It is hard, I submit, to loathe bloodshed, including war, more than I do, but it is still harder to exceed my loathing of the very nature of totalitarian states in which massacre is only an administrative detail.”
—Vladimir Nabokov (18991977)
“A mans library is a sort of harem.”
—Ralph Waldo Emerson (18031882)