Skip to content

Using Input Values as Hints

script.aculo.us' Thomas Fuchs is releasing various goodies in his prototype_helpers repository. They seem to mostly be extractions from his time tracking app freckle. A great one is @defaultValueActsAsHint@, which adds…

Author

script.aculo.us’ Thomas Fuchs is releasing various goodies in his prototype_helpers repository. They seem to mostly be extractions from his time tracking app freckle.

A great one is @defaultValueActsAsHint@, which adds hints to your text inputs. Like so:


![](http://img.skitch.com/20090121-x9y6ppc2x2u96kctr4q5awryan.png)

Check out the blog post for more information.

Explore more from GitHub

Company

Company

The latest on GitHub, from GitHub.
GitHub Universe 2024

GitHub Universe 2024

Get tickets to the 10th anniversary of our global developer event on AI, DevEx, and security.
GitHub Copilot

GitHub Copilot

Don't fly solo. Try 30 days for free.
Work at GitHub!

Work at GitHub!

Check out our current job openings.