Text Field Auto-Fill
Thursday, April 1st, 2004A brief break from the eye-bleeding CSS talk. LOL! ;o)
I needed a text field to be prefilled with text. If the user clicked on it, the text would clear out. If they “left” the text field (changed focus) without changing it - I needed it to revert back to the original text. If they DID enter information in it, I needed it to NOT revert back to the original text. (Clear as mud?)
Here’s what I mean:
Here’s how (and why) I did this:
(more…)