JQUERY INTRODUCTION


We use JQUERY to make javascript much more interactive.If we use Jquery with javascript then we had to write less for getting much more interaction in web page.

Why learn JQUERY?

Most popular sites like GOOGLE,Microsoft,Netflix etc.JQuery is much more famous for making javascript much more interactive by writting less.

Javascript in todays browsers

JQuery team designed this language keeping in mind all the modern day browsers.They included all the functions required by different browsers in there library.

How to install JQuery in your web page?

To use JQuery in a web page one must first install JQuery on his/her web page or add it by suitable methods.

Installing javascript in your web page

Type the following code in between <head> and </head> tags.

Using GOOGLE CDN for adding javascript in web page

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

Using MICROSOFT CDN for adding javascript in web page

<script
src="http://ajax.aspnetcdn.com
/ajax/jQuery/jquery-1.11.3.min.js">

Example:

<head>
<script src="https://ajax.googleapis.com
/ajax/libs/jquery/1.11.3/jquery.min.js">
</script>
</head>

Downloading JQuery in a HTML web page

There are two versions of JQuery available for use:
Production Version:This version is used for live website.
It is recommended to keep this downloaded JQuery file in same directory where rest of HTML document resides.
Development Version:This version is used for testing websites that are underdevelopment.

Important features of JQuery

  • Event handling:JQuery is used to capture variety of functions like user clicking on link.
  • AJAX support:Since JQuery is rich in AJAX technology it helps us with lots of responsive features.
  • Animation:JQuery has plenty of in-built animation functions which adds interactivity to web pages.
  • Latest Technology:JQuery supports CSS3 selectors and basic XPath syntax.

Things you must know before continuing to JQuery

  • HTML
  • CSS
  • JAVASCRIPT