Make Better Things



I like to make better things.

Getting started with jQuery

It can seem challenging to know where to begin with jQuery because this tiny library does many functions. Most of its concept borrowed from structured HTML and CSS.

So Let’s look what jQuery can do for us.

What jQuery does –

Access elements in a document – without a Javascript library you may need to write a lot of code to traverse Document Object Modal (DOM) tree. A robust and efficient mechanism is offered by jQuery to access elements in a document.

Modify the appearance of a web page – CSS offers a powerful method of influencing the way a document is rendered, but it falls short when web browsers do not all support the same standards. With jQuery, developers can bridge this gap, relying on the same standards support across all browsers. In addition, jQuery can change the classes or individual style properties applied to a portion of the document even after the page has been rendered

Alter the content of a document – Not limited to mere cosmetic changes, jQuery can modify the content of a document itself with a few keystrokes. Text can be changed, images can be inserted or swapped, lists can be reordered, or the entire structure of the HTML can be rewritten and extended—all with a single easy-to-use Application Programming Interface (API).

Respond to a user’s interaction – The jQuery library offers an elegant way to intercept a wide variety of events, such as a user clicking on a link, without the need to clutter the HTML code itself with event handlers.

Animate changes being made to a document – The jQuery library provide many animations built in such as fade in , fade out etc and provide easy to use API to create new one.

Retrieve information from a server without refreshing a page – The jQuery library removes the browser-specific complexity from this process, allowing developers to focus on the server-end functionality.

Simplify common JavaScript tasks – In addition to all of the document-specific features of jQuery, the library provides enhancements to basic JavaScript constructs such as iteration and array manipulation.