Learn Jquery Tutorial

jQuery is fast, lightweight and feature-rich client side JavaScript Library/Framework
which helps in to traverse HTML DOM, make animations, add Ajax interaction, manipulate the
page content, change the style and provide cool UI effect. It is one of the most popular client side
library and as per a survey it runs on every second website.

Due to following advantages.

  • Easy to use and learn.
  • Easily expandable.
  • Cross-browser support (IE 6.0+, FF 1.5+, Safari 2.0+, Opera 9.0+)
  • Easy to use for DOM manipulation and traversal.
  • Large pool of built in methods.
  • AJAX Capabilities.
  • Methods for changing or applying CSS, creating animations.
  • Event detection and handling.
  • Tons of plug-ins for all kind of needs.

JavaScript is a language While jQuery is a library built in the JavaScript language that helpsto use the JavaScript language.

No. jQuery is not a replacement of JavaScript. jQuery is a different library which is written
on top of JavaScript. jQuery is a lightweight JavaScript library that emphasizes interaction
between JavaScript and HTML

  • As other client side libraries like MooTools, Prototype can be used with jQuery and they
  • also use $() as their global function and to define variables.
  • This situation creates conflict as$()
  • is used by jQuery and other library as their global function.
  • To overcome from such situations,
  • jQuery has introduced
  • jQuery.noConflict()