Clear A Textbox/TextArea On-Entry

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Iain Wilson

    Clear A Textbox/TextArea On-Entry

    Hi All

    I have a number of textboxes and a textarea on a web form - Using C#.

    By default each component contains some text - a hint for the user
    entering the data.

    What I need to do is clear each component as the user's cursor enters
    the component - ie I need an On-Entry event -

    Can anyone enlighten me as to how I do this

    Many thanks in advance for help offered

    Iain
  • Iain Wilson

    #2
    Re: Clear A Textbox/TextArea On-Entry



    The onfocus Event work a treat.
    Thanks to all for the help

    Iain

    Comment

    Working...