jQuery-Basic

JQuery is lightweight write less, do more open source Javascript Library, used for interaction between HTML and JavaScript. JQuery is not a language. But JavaScript is a Language. JQuery is built over JavaScript.The purpose of jQuery is to make it much easier to use JavaScript on your website.




The jQuery library contains the following features:

  • HTML/DOM manipulation
  • CSS manipulation
  • HTML event methods
  • Effects and animations



  • AJAX
  • Utilities

How to use jQuery?
There are two ways to use jQuery.

  • Local Installation − download jQuery library on your local machine and include it in your HTML code and run.
  • eg:

    <html>
    <head>
    <title>The jQuery Example </title>
    <script type=”text/javascript” src=”/jquery/jquery-2.1.3.min.js”></script >

    <script type=”text/javascript”>
    $(document).ready(function(){
    alert(“Hello World!”);
    });
    </script>

    </head>

    <body>
    </body>
    </html>

  • CDN Based Version − include jQuery library into your HTML code directly from Content Delivery Network (CDN).




  • eg:

    <html>
    <head>
    <title>The jQuery Example</title>
    <script type=”text/javascript” src=”http://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js”>
    </script>

    <script type=”text/javascript”>
    $(document).ready(function(){
    document.write(“Hello, World!”);
    });
    </script>
    </head>

    <body>

    </body>
    </html>

2 thoughts on “jQuery-Basic

  1. Denice

    Hi! Do you know if they make any plugins to help with Search Engine Optimization? I’m trying
    to get my website to rank for some targeted keywords but I’m not seeing very good
    gains. If you know of any please share. Appreciate it!

    You can read similar blog here: Wool product

  2. auto approve List

    I really like what you guys are up too. This sort of clever work and coverage!
    Keep up the amazing works guys I’ve included you guys to
    my personal blogroll.!

Leave a Reply

Your email address will not be published.