JQuery is a JavaScript library that works across all browsers.
It makes things like HTML document traversal and manipulation, event handling and AJAX much easier.
The library takes common tasks and wraps them into small reusable methods.

$ is shorthand for jQuery

<script src="https://code.jquery.com/jquery-1.10.2.js"></script> 
<script src="https://code.jquery.com/jquery-1.9.1.js"></script>

  <script src="https://code.jquery.com/jquery-1.10.2.js"></script>
   jQuery(document).ready(function() {
      jQuery("p").text("The DOM is ready"); //all paragraph elements in the DOM
   <p>Not Loaded</p>

DOM, AJAX, Events, Effects

Refers to a specific DOM element


jQuery.myCustomMethod = function() { alert("hello"); }; 

© 2023 Better Solutions Limited. All Rights Reserved. © 2023 Better Solutions Limited TopNext