Web Design

Learn how to do web design tricks!

How to clear html text box values

Posted in HTML, Web Design on December 13, 2017

Here's what's happened to me recently. I have a form on a website with a textbox. I wanted to have predefined default text in the box (like 'Enter Your ID Number') but have it disappear when the cursor clicks the box. I originally used onFocus="clear_textbox()" but that stopped working. So I then changed it to Read More »