i have the following Textbox in an asp.net page.

<asp:TextBox ID="TtxtMessage"  Text="Write Here" ForeColor="Control" runat="server" Height="300px" TextMode="MultiLine" Width="274px"></asp:TextBox>

The default text in the Text box will be write here. If the user clicks that i want to clear the text and this should happen only on the first click.For the subsequent clicks the content entered by the user should remain the same. How to do this using Javascript or Code Behind ?

Related posts

Recent Viewed