How To Use JQuery


  • 15 Mar, 2012

    Including the jQuery JavaScript library isn’t any different from including any other
    external JavaScript file. You simply use the HTML <script> element and provide the
    element a value (URL or directory path) for its src="" attribute, and the external file
    you are linking to will be included in the web page. For example, the following is a
    template that includes the jQuery library that you can use to start any jQuery project:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <script type="text/JavaScript"
    src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
    </head>
    <body>

    <script type="text/JavaScript">
    alert('jQuery ' + jQuery.fn.jquery);
    </script>
    </body>
    </html>

    Comments Received:
    Please give your suggestions and feedback:
  • 17 Jan, 2012

    jQuery can be easily used with other libraries so it should work out of the box with simple and complex JavaScript and Ajax..

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.