asp input field on click clear value

Keyz333

New Member
I'm wanting to change the value of my inputs with my asp form fields so that when clicked it clears the content and if someone doesn't type any value and clicks another field it will re-add the default value again, if changed it leaves the new text.eg. field:\[code\] <asp:TextBox ID="NameInfo" CssClass="NameInfo" Width="300" runat="server" text="Name" />\[/code\]Thanks in advance for any responses. I'm a beginner at asp so I'm not sure how to do these types of features.
 
Back
Top