jQuery (an improved version of JavaScript) is a lightweight, “write less, do more”, JavaScript library. The purpose of jQuery is to make it much easier to use JavaScript on your website. jQuery takes a lot of common tasks that require many lines of JavaScript code to accomplish, and wraps them into methods that you can call with a single line of code. jQuery also simplifies a lot of the complicated things from JavaScript, like AJAX calls and DOM manipulation.

Understanding Array in JavaScript

The array is one of the most commonly used data structures in computer programming. Basically, arrays are used to store multiple values in a single variable and then we retrieve its elements via an index. In this post, I would ...

Read More »

How to use console dot table in Console

This post shows how to use console.table to display a JSON data as the table in DevTool panel in Console tab

Read More »

How to get selected values of a group of checkboxes

We can use the jQuery :check  selector in combination with the each()  method so as to retrieve the values of all selected checkboxes in a group. The each() method used here simply iterates over all the checkboxes that have been ...

Read More »

How to check and uncheck a checkbox in jQuery

Làm với jQuery, nhiều bạn lập trình Front End chắc sẽ nắm rõ cách thức để viết hàm để bắt sự kiện check và uncheck một ô checkbox như thế nào. Tôi cược là các bạn có thể viết code ...

Read More »

Working with css, images, and jQuery in CodeIgniter

I spent a lot of time for seeking an appropriate solution to use external stylesheets in CodeIgniter. If you are not patient, I think you will give up the racing. Here is the silver point I have found. It can ...

Read More »

Create an image gallery with jQuery

Instead of visiting each images and reloading the page to load a new one, we can visit all images without reloading the page. The principle of this work sounds employed AJAX but it is based on pure jQuery. The above ...

Read More »

An Introduction to jQuery

Courtesy: https://en.wikipedia.org/wiki/File:JQuery_logo.svg

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 ...

Read More »