Nowadays, an awful lot of web based applications are using JSON as a principal data to load and render information rapidly. While some applications store data into persistence volume as…
Category: jQuery
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.
Event Delegation in jQuery
Introduction Event delegation allows us to attach a single event listener, to a parent element, that will fire for all descendants matching a selector, whether those descendants exist now or…
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…
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
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…
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ế…
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.…
An Introduction to jQuery
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…