Allow only numeric values or digits in a TextBox using JavaScript or jQuery

This tutorial shows how to accept only numbers or digits in a textbox using JavaScript or jQuery. Sometimes we need to accept only numbers for a textbox instead of validation then it comes handy. In this type of validation user will not be able to type a non-numeric values. This Continue Reading…

JavaScript function which takes multiple ids and returns multiple elements

This tutorial shows how to implement a javascript function which takes multiple ids and returns multiple elements document.getElementById() only supports one name at a time and only returns a single node not an array of nodes. You have several different options: You could implement your own function that takes multiple Continue Reading…