We are going to do a performance test on getting the data from MySQL database using PHP vs getting data from MySQL database using AJAX…
Demo In this tutorial, we are going to teach you how you can count the number of words in textarea as user type in it.…
To shuffle an array of objects or single values in Javascript, use the following function: First, we are looping through all array elements. data is…
Demo Convert time to different timezones Today, we will learn to calculate the time passed since date in days, hours, minutes and seconds. Either you…
In this tutorial, we are going to teach you how you can load the content of div only when user scrolled to that section. For…
Ever come across a problem where you enter some value in input type number and while you scroll down or up, you will see that…
In this article, we will learn how to preview image before upload from input type file using Javascript. A FileReader object is used. The following…
Learn how to create a custom auto complete view in vanilla Javascript. Auto complete view is a feature in which an input field predicts the…
We are going to implement a custom sort using jQuery UI, which helps you to customize the order of data being displayed on your website.…
Learn how to get feedback from your website users using emoji ratings. We will be using plain Javascript. No external library has been used in…