Creating text field where text disappears upon click

Hi,

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
results

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs