Creating text field where text disappears upon click


Is there a slick way in Rails to create a username text field in which
it starts out reading, “Enter your username” and once you click on the
text field, the “Enter your username” text disappears?

Thanks, - Dave

I don’t know of a slick way (yet) but here’s the HTML to produce said

On Feb 4, 9:28 am, “[email protected]