Can JavaScript select text in a text-field?

K

Kurda Yon

Hi,

I would like to have a text-field (in html form) with a selected text.
In other words, it user loads the form, he/she can see a text in the
text field (this text should explain what should be put in the text
field). It is convenient to have a selected text, so that it user
start to write something in the text filed the selected text will be
immediately deleted.

Thank you in advance for any help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top