the box to be cleared when some one clicks on the box.
How do I go about doing this?you need to add some client-side javascript like this:
onfocus=" if ( this.value == 'some default' ) this.value=''; " onblur="
if ( this.value == '' ) this.value = 'some default' ; "
Lou Civitella wrote:
Quote:
Originally Posted by
I have a asp.net textbox on my page with a default value in it. I would like
the box to be cleared when some one clicks on the box.
How do I go about doing this?
0 comments:
Post a Comment