This post introduces two popular ways to create a range slider.
A really neat little helper function that automatically expands a textarea as the user types in.
There are some special events that are avaialble as the method’s element.
Count the number of characters by handling the input event which is triggered if the value of element is changed.
This function serializes the form data which consists of names and values of its fields.
This script verifies that a string is numeric, otherwise it deletes the non-numeric character.
This script will easily allow you to add an input mask to a textbox. The mask for a phone number could look like this for example “(###) ###-####”. Just give it a try to see it in action!
This is a simple international country, state, and city drop down list that automatically repopulates the state section based on the country selected, and automatically repopulates the city section based on the state selected. All of this is done without reloading the page.
When a user moves the mouse over the button, it will change text. When the mouse is moved away, the text will change back. Perfect for adding short instructions on a submit button.