开发者

Question on button, javascript and HTML

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 programmin开发者_JAVA百科g question? Be specific.". I would like to do something like this, how can I do it?

Thanks!


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


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/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜