Jquery Tutorials and examples

Jquery Tutorials and examples

Jquery Is a javascript library. Created By John Resig in 2006.

Before write any jquery code must we need to include Jquery Library

Local Installation

download jQuery library.and include it in html code.

CDN Based Version

directly include it jquery cdn url in html code.

		https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js

→ 1. First Example In jquery:


<html>
        <head>
            <title>Eenadupost Jquery examples</title>
             <script type = "text/javascript" 
             src = "https://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>
          <h1>Hello</h1>
       </body>
    </html>

How to fix jQuery Conflicts

jQuery noConflict In jQuery’s case, $ is just an alias for jQuery, so all functionality is available without using $

		include other library
		include Jquery library
		$.noConflict();
		write your code here
Spread the love

Add a Comment

Your email address will not be published. Required fields are marked *