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:
“Despotism is unjust to everybody, including the despot, who was probably made for better things.”
—Oscar Wilde (18541900)
“The pressures of being a parent are equal to any pressure on earth. To be a conscious parent, and really look to that little beings mental and physical health, is a responsibility which most of us, including me, avoid most of the time because its too hard.”
—John Lennon (19401980)
“Readers transform a library from a mausoleum into many theaters.”
—Mason Cooley (b. 1927)