ASP.NET
Free source code, tutorials
Search This Blog
JavaScript
How to hide data on textbox by onFocus
<asp:TextBox id="txtname" onblur="javascript:if(this.value=='')this.value='Username'" onfocus="javascript:if(this.value=='Username')this.value=''" runat="server" TabIndex="0" text="Username"></asp:textbox>
Home
Subscribe to:
Posts (Atom)