1

I have created a form using HTML codes. I would like to do something like... prompting the user to type something into the form. For example, before I actually typed something in this box, the title actually prompted for:"What's your programming question? Be specific.". I would like to do something like this, how can I do it?

Thanks!

KennC.
  • 3,315
  • 6
  • 20
  • 18
  • Can you clarify your question a bit? Where do you want the text displayed? Is it in the text box that you want them to type their question, or is it just text on the page? – bakoyaro Nov 21 '10 at 07:05
  • I would like the text to be displayed IN the text box where user can type in their question. – KennC. Nov 21 '10 at 07:07

2 Answers2

1

You should check out this post on SO, it talks all about using a input textbox and watermarks.

Community
  • 1
  • 1
Zachary
  • 6,522
  • 22
  • 34
0

You are talking about watermarks on your input fields. If you are using jQuery you should have a look at this page: http://code.google.com/p/jquery-watermark/

Darbio
  • 11,286
  • 12
  • 60
  • 100