# Highlight dynamic txt onFocus

**URL:** <https://forum.kirupa.com/t/highlight-dynamic-txt-onfocus/48511>\
**Category:** flash\
**Created:** [April 14, 2004, 8:58am UTC](https://forum.kirupa.com/t/highlight-dynamic-txt-onfocus/48511 "2004-04-14T08:58:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![as\_clark20](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@as\_clark20](https://forum.kirupa.com/u/as_clark20)\
**Post date:** [April 14, 2004, 8:58am UTC](https://forum.kirupa.com/t/highlight-dynamic-txt-onfocus/48511/1 "2004-04-14T08:58:52Z")

</div>

To save space on a form I have created I decided to put the field names/description (eg, “insert name…”) in the input text field. Problem is this is inconvenient for the user as they have to drag across the box to delete the labels already in there to input their own.

Can you delete whatever entry is in an input text box on Focus? Lets for arguements sake call this input box “name”.

Anyone got any ideas?
