Brock Angelo
Currently viewing the category:
"Javascript"
Did you know that you can replace text using Javascript? I wrote this script for our company intranet. In our staff phone directory I show the internal 5-digit phone number by default. Clicking the number reveals a 7-digit external phone number. Try the demo.
Have you been on a website, clicked a radio button, and a form appears with text boxes that weren’t there before? Here’s free code to make that happen with Javascript.
How to Reset a Form Using Javascript
It doesn’t clear the data, it just resets all form values to their original value. Here’s a demo:
