JQuery ▪ Sale
jQuery
JQuery logo.svg
Original author(s) John Resig
Developer(s) jQuery Team
Initial release August 26, 2006 (2006-08-26)
Stable release 2.0.0 / April 18, 2013 (2013-04-18)
Preview release 2.0 Beta 3 / April 9, 2013 (2013-04-09)
Development status Active
Written in JavaScript
Platform Internet Explorer 9+
Mozilla Firefox
Google Chrome
Safari
Opera
(current - 1 version)
Size 32 KB zipped / 91.6 KB (production mode) / 252 KB (development mode)
Type JavaScript library
License MIT
Website jquery.com

jQuery is a multi-browser JavaScript library designed to simplify the client-side scripting of HTML. It was released in January 2006 at BarCamp NYC by John Resig. It is currently developed by a team of developers led by Dave Methvin. Used by over 65% of the 10,000 most visited websites, jQuery is the most popular JavaScript library in use today.

jQuery is free, open source software, licensed under the MIT License. jQuery's syntax is designed to make it easier to navigate a document, select DOM elements, create animations, handle events, and develop Ajax applications. jQuery also provides capabilities for developers to create plug-ins on top of the JavaScript library. This enables developers to create abstractions for low-level interaction and animation, advanced effects and high-level, theme-able widgets. The modular approach to the jQuery library allows the creation of powerful dynamic web pages and web applications.

Microsoft and Nokia have announced plans to bundle jQuery on their platforms. Microsoft is adopting it initially within Visual Studio for use within Microsoft's ASP.NET AJAX framework and ASP.NET MVC Framework while Nokia has integrated it into their Web Run-Time widget development platform. jQuery has also been used in MediaWiki since version 1.16.

Features [edit]

jQuery includes the following features:

Including the library [edit]

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.

<script type="text/javascript" src="jquery.js"></script>

It is also possible to include jQuery directly from online servers, for example:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>

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
});

Usage styles [edit]

jQuery has two usage styles:

Typically, access to and manipulation of multiple DOM nodes begins with the $ function being called with a CSS selector string, which results in a jQuery object referencing matching elements in the HTML page. This node set can be manipulated by calling instance methods on the jQuery object, or on the nodes themselves. For example:

$("div.test").add("p.quote").addClass("blue").slideDown("slow");

This line finds the union of all div tags with class attribute test and all p tags with CSS class attribute quote, adds the class attribute blue to each matched element, and then increases their height with an animation. The $ and add functions affect the matched set, while the addClass and slideDown affect the referenced nodes.

Besides accessing DOM nodes through jQuery object hierarchy, it is also possible to create new DOM elements if a string passed as the argument to $() looks like HTML. For example, this line finds an HTML SELECT element with ID="carmakes", and adds an OPTION element with value "VAG" and text "Volkswagen":

$('select#carmakes').append($('<option />').attr({value:"VAG"}).append("Volkswagen"));

The methods prefixed with $. are convenience methods or affect global properties and behaviour. For example, the following is an example of the iterating function called each in jQuery:

$.each([1,2,3], function(){
  document.write(this + 1);
});

This writes "234" to the document.

It is possible to perform browser-independent Ajax queries using $.ajax and associated methods to load and manipulate remote data.

$.ajax({
  type: "POST",
  url: "example.php",
  data: "name=John&location=Boston"
}).done( function(msg){
  alert( "Data Saved: " + msg );
}).fail( function( xmlHttpRequest, statusText, errorThrown ) {
  alert(
    "Your form submission failed.\n\n"
      + "XML Http Request: " + JSON.stringify( xmlHttpRequest )
      + ",\nStatus Text: " + statusText
      + ",\nError Thrown: " + errorThrown );
});

This example posts the data name=John and location=Boston to example.php on the server. When this request finishes successfully, the success function is called to alert the user. If the request fails, it will alert the user to the failure, the status of the request, and the specific error.

jQuery plug-ins [edit]

Because of jQuery's architecture, other developers can use its constructs to create plug-in code to extend its functionality. Currently there are thousands of jQuery plug-ins available on the web that cover a wide range of functionality such as Ajax helpers, web services, datagrids, dynamic lists, XML and XSLT tools, drag and drop, events, cookie handling, modal windows, even a jQuery-based Commodore 64 emulator.

An important source of jQuery plug-ins is the Plugins sub-domain of the jQuery Project website. However, in an effort to rid the site of spam, the plugins in this subdomain were accidentally deleted in December 2011. The new site will include a GitHub-hosted repository, which will require developers to resubmit their plugins and to conform to new submission requirements. There are alternative plug-in search engines like jquer.in that take more specialist approaches, such as listing only plug-ins that meet certain criteria (e.g. those that have a public code repository). The tutorials page on the jQuery site has a list of links to jQuery plug-in tutorials under the "Plugin development" section.

Release history [edit]

Version number Release date Additional notes
1.0 August 26, 2006 First stable release
1.1 January 14, 2007
1.2 September 10, 2007
1.3 January 14, 2009 Sizzle Selector Engine introduced into core
1.4 January 14, 2010
1.5 January 31, 2011 Deferred callback management, ajax module rewrite
1.6 May 3, 2011 Significant performance improvements to the attr() and val() functions
1.7 November 3, 2011 New Event APIs: .on() and .off(), while the old APIs are still supported.
1.8.0 August 9, 2012 Sizzle Selector Engine rewritten, improved animations and $(html, props) flexibility.
1.9.0 January 15, 2013 Removal of deprecated interfaces and code cleanup
1.9.1 February 04, 2013
2.0.0 April 18, 2013 Dropped IE6-8 support for performance improvements and reduction in filesize
1.10.0 soon Will update 1.x to incorporate bug fixes and differences reported from both the 1.9 and 2.0 beta cycles

Testing framework [edit]

QUnit is a test automation framework used to test the jQuery project. The jQuery team developed it as an in-house unit testing library. The jQuery team uses it to test its code and plugins but it can test any generic JavaScript code, including server-side JavaScript code.

As of 2011, the jQuery Testing Team uses QUnit with TestSwarm to test each jQuery codebase release.

See also [edit]

Portal icon Free software portal

References [edit]

  1. "jQuery 2.0 Released". 2013-04-18. 
  2. "jQuery 2.0 Beta 3 Released". 2013-04-09. 
  3. Browser Support | jQuery
  4. "License - jQuery Project". jQuery Foundation. Retrieved 5 January 2013. 
  5. "jQuery: The write less, do more, JavaScript library". The jQuery Project. Retrieved 29 April 2010. 
  6. "jQuery Usage Statistics". Retrieved 2013-05-17. 
  7. "Usage of JavaScript libraries for websites". W3Techs. Retrieved 2010-07-08. 
  8. "License – JQuery JavaScript Library". Retrieved 2009-11-26. 
  9. Resig, John (2008-09-28). "jQuery, Microsoft, and Nokia". jQuery Blog. jQuery. Retrieved 2009-01-29. 
  10. Guthrie, Scott (2008-09-28). "jQuery and Microsoft". ScottGu's Blog. Retrieved 2009-01-29. 
  11. "Guarana UI: A jQuery Based UI Library for Nokia WRT". Forum Nokia. Retrieved 2010-03-30. 
  12. "jQuery". MediaWiki. January 19, 2012. Retrieved March 11, 2012. 
  13. Resig, John (2009-01-14). "jQuery 1.3 and the jQuery Foundation". jQuery Blog. Retrieved 2009-05-04. 
  14. "jQuery CDN - provided by (mt) Media Temple" – http://code.jquery.com/
  15. "CloudFront CDN for jQuery", November 19th, 2008 by John Resig, blog.jquery.com
  16. "Google Libraries API - Developer's Guide". code.google.com. Retrieved March 11, 2012. 
  17. "Microsoft Ajax Content Delivery Network". ASP.net. Microsoft Corporation. Retrieved June 19, 2012. 
  18. http://www.w3schools.com/jquery/jquery_install.asp
  19. "Plugins". The jQuery Project. Retrieved 26 August 2010. 
  20. "JavaScript Commodore Emulator". Kingsquare. Retrieved 26 August 2010. 
  21. http://blog.jquery.com/2011/12/08/what-is-happening-to-the-jquery-plugins-site/#pluginstldr
  22. https://github.com/jquery/plugins.jquery.com
  23. "jQuery Plugins Search". Retrieved 13 September 2012. 
  24. Kanakiya, Jay. "jquery plugins". 
  25. "Tutorials". The jQuery Project. Retrieved 26 August 2010. 
  26. Qunit section of jQuery website, 2011 http://docs.jquery.com/Qunit
  27. Qunit section of jQuery website, 2012 http://docs.jquery.com/QUnit
  28. jQuery Testing Team Wiki http://jquerytesting.pbworks.com/w/page/41556026/FrontPage

Further reading [edit]

External links [edit]

Popular search requests

JQuery is an object of interest for many people. For example, the people often search for JQuery website, JQuery blog, JQuery online, JQuery information, JQuery photo, JQuery picture, JQuery video, JQuery movie, JQuery history, JQuery news, JQuery facts, JQuery description, JQuery detailed info, JQuery features, JQuery manual, JQuery instructions, JQuery comparison, JQuery book, JQuery story, JQuery article, JQuery review, JQuery feedbacks, JQuery selection, JQuery data, JQuery address, JQuery phone number, download JQuery, JQuery reference, JQuery wikipedia, JQuery facebook, JQuery twitter, JQuery 2013, JQuery 2014, JQuery in the United States, JQuery USA, JQuery US, JQuery in United Kingdom, JQuery UK, JQuery in Canada, JQuery in Australia, etc.

JQuery is also an object of commercial interest. For example, many people are interested in JQuery offers, JQuery buy, JQuery sell, JQuery sale, JQuery discounts, discounted JQuery, JQuery coupon, JQuery promo code, JQuery order, to order JQuery online, to buy JQuery, how much for JQuery, JQuery price, JQuery cost, JQuery price list, JQuery tariffs, JQuery rates, JQuery prices, JQuery delivery, JQuery store, JQuery online store, JQuery online shop, inexpensive JQuery, cheap JQuery, JQuery for free, free JQuery, used JQuery, and so on.

Information source: wikipedia.org

Do you want to know more? Look at the full version of the JQuery article.

HOT DESIGNS
Premium designs
Designs by country
Designs by U.S. state
Most popular designs
Newest, last added designs
Unique designs
Cheap, budget designs
Design super sale

DESIGNS BY THEME
Accounting, audit designs
Adult, sex designs
African designs
American, U.S. designs
Animals, birds, pets designs
Agricultural, farming designs
Architecture, building designs
Army, navy, military designs
Audio & video designs
Automobiles, car designs
Books, e-book designs
Beauty salon, SPA designs
Black, dark designs
Business, corporate designs
Charity, donation designs
Cinema, movie, film designs
Computer, hardware designs
Celebrity, star fan designs
Children, family designs
Christmas, New Year's designs
Green, St. Patrick designs
Dating, matchmaking designs
Design studio, creative designs
Educational, student designs
Electronics designs
Entertainment, fun designs
Fashion, wear designs
Finance, financial designs
Fishing & hunting designs
Flowers, floral shop designs
Food, nutrition designs
Football, soccer designs
Gambling, casino designs
Games, gaming designs
Gifts, gift designs
Halloween, carnival designs
Hotel, resort designs
Industry, industrial designs
Insurance, insurer designs
Interior, furniture designs
International designs
Internet technology designs
Jewelry, jewellery designs
Job & employment designs
Landscaping, garden designs
Law, juridical, legal designs
Love, romantic designs
Marketing designs
Media, radio, TV designs
Medicine, health care designs
Mortgage, loan designs
Music, musical designs
Night club, dancing designs
Photography, photo designs
Personal, individual designs
Politics, political designs
Real estate, realty designs
Religious, church designs
Restaurant, cafe designs
Retirement, pension designs
Science, scientific designs
Sea, ocean, river designs
Security, protection designs
Social, cultural designs
Spirit, meditational designs
Software designs
Sports, sporting designs
Telecommunication designs
Travel, vacation designs
Transport, logistic designs
Web hosting designs
Wedding, marriage designs
White, light designs

E-COMMERCE DESIGNS
Magento store designs
OpenCart store designs
PrestaShop store designs
CRE Loaded store designs
Jigoshop store designs
VirtueMart store designs
osCommerce store designs
Zen Cart store designs

CMS DESIGNS
Flash CMS designs
Joomla CMS designs
Mambo CMS designs
Drupal CMS designs
WordPress blog designs
Forum designs
phpBB forum designs
PHP-Nuke portal designs

ANIMATED WEBSITE DESIGNS
Flash CMS designs
Silverlight animated designs
Silverlight intro designs
Flash animated designs
Flash intro designs
XML Flash designs
Flash 8 animated designs
Dynamic Flash designs
Flash animated photo albums
Dynamic Swish designs
Swish animated designs
jQuery animated designs

WEBSITE DESIGNS
WebMatrix Razor designs
HTML 5 designs
Web 2.0 designs
3-color variation designs
3D, three-dimensional designs
Artwork, illustrated designs
Clean, simple designs
CSS based website designs
Full design packages
Full ready websites
Portal designs
Stretched, full screen designs
Universal, neutral designs

CORPORATE ID DESIGNS
Corporate identity sets
Logo layouts, logo designs
Logotype sets, logo packs
PowerPoint, PTT designs
Facebook themes

VIDEO, SOUND & MUSIC
Video e-cards
After Effects video intros
Special video effects
Music tracks, music loops
Stock music bank

GRAPHICS & CLIPART
Pro clipart & illustrations, $19/year
5,000+ icons by subscription
Icons, pictograms

 
JQuery Sale - Buy now!
Super Offers
Super Offers
Custom Logo Design $149  ▪  Web Programming  ▪  ID Card Printing  ▪  Best Web Hosting  ▪  eCommerce Software  ▪  Add Your Link
© 1996-2013 MAGIA Internet StudioAboutPortfolioPhoto on DemandHostingAdvertiseSitemapPrivacyMaria Online