Somethings about jQuery Library

Coding is a tiring task, especially if you have many strings. What is the jQuery? jQuery is the Javascript library. This

Somethings about jQuery Library

Coding is a tiring task, especially if you have many strings. What is the jQuery? jQuery is the Javascript library. This is not different a programming language. While coding, jQuery gives us a lot of convenience. If we need to give an example;

While select an element by class name
Javascript
document.getElementsByClassName("simple-li");

jQuery
$('simple-li')

While add a class to an element by class name
Javascript
var d = document.getElementsByClassName("your_class_name");
var i;
for (i = 0; i < d.length; i++) {
d[i].className = d[i].className + " selected";
}

jQuery
$(". your_class_name").addClass("selected");

jQuery provides more convenience than pure JavaScript. jQuery’s main purpose is to do the same work by writing less code. Even the slogan is the “write less, do more”. It was created in 2006 by John Resig to facilitate developers’ use of JavaScript on their websites. jQuery is a very useful helper library to give users a better experience, which we cannot make with languages such as HTML / CSS. It has a simple and easy structure. To work with jQuery, you need to know HTML, CSS and JavaScript at a basic level. JQuery runs on all browsers and it is actively used by the big companies such as Google, Microsoft etc. We can use the Ajax with the jQuery. As you know the Ajax is the function to post the data that provides by jQuery.

jQuery’s goal is to make it easy for you to use JavaScript on your websites, which is a challenging language for many users. The advantages of using jQuery are considerable. Once you’ve learned how to use jQuery, you’ll be able to do all the complicated tasks with ease. Using the jQuery is almost inevitable while web development. Also, the jQuery library is the free library. Creating animation with jQuery is as simple such as other process. jQuery is a worldwide known library with many advantages.

jQuery servers many methods and tools to use the Ajax functions. As we know, Ajax technology has changed many things in the web development world. At this point, we can understand the importance of the jQuery. If you want to use the jQuery library, you must add the jQuery library to your page. You can find the jQuery Google Hosted (or another one library) link following.

https://developers.google.com/speed/libraries/

The jQuery Library has the following features

  • HTML / DOM object manipulations
  • AJAX
  • Utilities
  • Effects and animations
  • CSS maniputaions
  • HTML Event Methods

Leave a Reply