How to Only Allow Numbers in a Text Box using jQuery


This tutorial explains how to only allow numbers and decimal values in the textbox using jQuery. I have kept this article very simple so that anyone can implement basic validation of entering the numeric values in the textbox on their web page. Best practise is to do validation on both the side .i.e on server-side (Php, […]

How TO – JavaScript Countdown Timer


A countdown timer is an accurate timer that can be used for a website or blog to display the countdown to any special event, such as a birthday or anniversary. Set the end date for the timer To create a countdown timer using Javascript, we first need to declare a variable that holds the date […]

How to Copy Text to Clipboard using JavaScript

In this article, you will learn how to write (copy) text and images to the clipboard using Javascript. Generally, the key combination (CTRL+C) of the keyboard is used to copy text to clipboard. If you want to integrate copy to clipboard functionality on button click, JavaScript is the easiest option to do that. The HTML […]

How to Search/Filter Dropdown using jQuery

How to Search/Filter Dropdown using jQuery

DropDown with Search using jQuery Search is a useful feature for an HTML drop-down list. Especially it will increase user convenience to select items from the drop-down having a long list. In this tutorial, we are going to list country dropdown with a search option. In a previous tutorial. Search Dropdown using jQuery In this […]

Getting Checkbox Value in jQuery


In HTML Form, the dropdown, checkbox type fields have an array of value. In this post, we are going to see how to get the array of selected Checkbox Value in jQuery In this example, we are using jQuery each() to get each checked value in an array. Then this array values will be shown […]