Default text text in Textbox in ASP.net

binay00713

Broken In
I am using asp.net (c#)
I want to to display some default text(in blur) in a textbox when the page loads like
" write here"
and when the user clicks on the textbox to write ,it should be erased automatically.
How to do it?
 

Garbage

God of Mistakes...
One more thing you can do it set the default text as "Enter something here", and onFocus, make the text "".
 
Top Bottom