Home / Web Engineering / jQuery / An Introduction to jQuery

An Introduction to jQuery

Print Friendly, PDF & Email

To web developers, jQuery is considered as a fascinating JavaScript library that helps doing whatever they want with HTML elements.

What is jQuery?

According to the main page of jQuery library, I want to quote its original definition:

jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers. With a combination of versatility and extensibility, jQuery has changed the way that millions of people write JavaScript.

jQuery was designed with the perception of “Write Less, Do More” enabling to work HTML elements in a simpler way than the traditional JavaScript codes. It is actually called JavaScript based library rather scripting language.

jQuery - write less, do more

jQuery – write less, do more

Let’s give a basic example, “Hello World!” a common toy program in both JavaScript and jQuery to see differences in writing tasks. Suppose to have an HTML element having the identifier as demo.

 

This short example shows how jQuery can achieve the same end result as plain JavaScript in a concise manner.

comments

About Nguyen Vu Ngoc Tung

I love making new professional acquaintances. Don't hesitate to contact me via nguyenvungoctung@gmail.com if you want to talk about information technology, education, and research on complex networks analysis (i.e., metabolic networks analysis), data analysis, and applications of graph theory. Specialties: researching and proposing innovative business approaches to organizations, evaluating and consulting about usability engineering, training and employee development, web technologies, software architecture.