Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Chapter 1: An Introduction to jQuery

    • 1
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 400
    Comment on it

    What is jQuery ?

    jQuery is a fast JavaScript library with less code which was created by John Resig in 2006. jQuery is very fast and this feature make it one of the most popular language.
    It is the most popular browser friendly javascript library which compiled for the ease of client-side scripting of html.

     


    Below is some advantage of jQuery -

     

    It is ease of use

    This is the main advantage of JQuery, It is very easy to understand. If you just have a basic knowledge of coding, you can start writing JQuery, you only need some tutorial to get started. You can achieve more in less lines of code to the same feature in comparison. It's light weight when compared to other javascript frameworks.

     

    Large library

    It has a wide range of plugins and library available as compared to other Javascript libraries. It is an open source library means free and supported by all types of applications.

    Microsoft has integrated JQuery officially.

     

    Documentation and tutorials

    The JQuery official website has a extensive documentation and tutorials to get even an absolute beginner in programming to get the ball rolling with this library.

     

    How to use jQuery -

    First of all you have to add jQuery directory in your page you can directly download and host jQuery yourself. If you don't want to download and , you can include it from a CDN (Content Delivery Network).

    That is Two type

    Development version - It is for testing and development which is uncompressed and readable code.
    Production version - It is for your live website because it has been minified and compressed.

     

    <html>
       <head>
          <title>jQuery</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(){
                 alert("jQuery is awesome");}
             );
          </script>
     
       </head>
        
       <body>
          <!-- findnerd -->
       </body>
        
    </html>

     

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: