jQuery Tutorial



jQuery is a fast and light-weight feature-rich JavaScript library. it was created by John Resig in early 2006. jQuery simplifies AJAX calls, JavaScript and HTML Document traversing. Before learning jQuery, you must have the basic knowledge of HTML5 and CSS3.

So many libraries are out from the JavaScript. Among all jQuery is popular and easy to use.

Example

<!DOCTYPE html>  
<html>  
<head>  
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js">  
 </script>  
 <script type="text/javascript" language="javascript">  
 $(document).ready(function() {  
 $("h1").css("color", "red");  
 });  
 </script>  
 </head>  
<body>  
<h1>This is first paragraph.</h1>  
<p>This is second paragraph.</p>  
<p>This is third paragraph.</p>  
</body>  
</html>  

 


Click on the "Run This Code" button to see how it works.

Share On




jQuery

Welcome jQuery cdn jQuery Syntax jQuery Selectors jQuery Events

jQuery HTML & CSS


jQuery Add jQuery Get jQuery Set jQuery Remove jQuery Classes jQuery Dimensions

jQuery Effects


jQuery Show&Hide jQuery Toggle jQuery Fading Effect jQuery Sliding jQuery Animation jQuery Stop Method jQuery Callback jQuery Chaining

jQuery ADVANCED


jQuery Traversing jQuery Descendants jQuery Siblings jQuery Filtering jQuery Ajax jQuery Ajax Methods jQuery Fliters