Skip to main content

JavaScript Tips

let us supposed that you have a textbox is clicked, you need the text that says "Enter your search
here" to dissappear. This is the javascript for this?.
<asp:TextBox ID="TextBox1" runat="server" Text="Serch Here"
onkeydown="if (this.value == 'Serch Here') this.value = '';"
onclick="this.value=''"></asp:TextBox>

Comments

Popular posts from this blog