Understanding data type of dictionary in JavaScript

Dictionary is among the commonly used data structures in modern programming because of its benefits so that there has not been any frankly acceptable alternative. Therefore, in this post I…

How to build and render data in JSON format with Grails

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…

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…

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…