JQuery is a lightweight cross-browser JavaScript library that emphasizes interaction between JavaScript and HTML. In JQuery also simplify the creation of animations, communications to server requests, document traversing and event handling. The JQuery library and virtually all of its plug-in are constrained within the JQuery namespace.

 JQuery also supports Ajax implementation. JQuery works like java script where it is used to help with interaction and affects on development code.

We can download JQuery library from JQuery.com. This library has JQuery function that can be embedded with scripts.

Following steps needs to be performed for adding JQuery library
  •   Download JQuery library from http://www.JQuery.com
  •   Open your web project in which you want to add JQuery library.
  •   Right click on solution explorer followed by Add, followed by Existing Item.
  •   With add existing dialog box add JQuery library in your application.
  •   After adding write down following syntax to provide path of JQuery library
       <script type="text/javascript" src="jquery.min.js" />


After performing these steps JQuery library is added in your web project as shown by following screen shot.

Introduction to JQuery


If JQuery library is not downloaded and still you want to use in your application then write down following statement.

        <script type=”text/JavaScript” src=”="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"”></script>


<script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.min.js" />

There are some advantages of JQuery:

  •     Ajax support
  •     Very easy to use
  •     Large library
  •     Open source community
  •     Tutorial
  •     Great Documentation

There are some disadvantages of JQuery:

  •    JQuery library required
  •    JQuery functionality can be limited


  Modified On Sep-07-2019 12:12:05 AM

Leave Comment