What is Jquery and How to use Jquery in your website

What is JQuery?

jquery-logojQuery is a lightweight JavaScript library that emphasizes interaction between JavaScript and HTML. It was released in January 2006 at BarCamp NYC by John Resig.

jQuery is free, open source software, dual-licensed under the MIT License and the GNU General Public License, Version 2.

Features

  • DOM element selections using the cross-browser open source selector engine Sizzle, a spin-off out of the jQuery project
  • DOM traversal and modification (including support for CSS 1-3)
  • Events
  • CSS manipulation
  • Effects and animations
  • AJAX
  • Extensibility
  • Utilities – such as browser version and the each function
  • Downloading JQuery

    http://docs.jquery.com/Downloading_jQuery

    How to use JQuery

    This is a basic tutorial, designed to help you get started using jQuery. If you don’t have a test page setup yet, start by creating a new HTML page with the following contents:

    [sourcecode language="plain"]<html>
      <head>
        <script type="text/javascript" src="jquery.js"></script>
    
        <script type="text/javascript">
         
        </script>
      </head>
      <body>
        <a href="http://jquery.com/">jQuery</a>
      </body>
    </html>
    [/sourcecode]
    
     

    Edit the src attribute in the script tag to point to your copy of jquery.js. For example, if jquery.js is in the same directory as your HTML file, you can use:

    [sourcecode language=”plain”]<script type="text/javascript" src="jquery.js"></script>[/sourcecode]

    JQuery FAQ at JQuery.com
    http://docs.jquery.com/Frequently_Asked_Questions

    [ratings]