Tuesday, February 7, 2012

Water Mark Textbox Jquery


It to show “TYPE SOME TEXT" when someone clicks the Textbox Hide the Text.

Then click outside from text box "TYPE SOME TEXT" this should be appeared again


<asp:TextBox ID="txtUrl" runat="server" Width="661px" class="query field inp suggestion"
        onblur="if (this.value == '') {this.value = 'Give your shared URL';}" onfocus="if (this.value == 'Give your shared URL') {this.value = '';}"
        size="50" value='Give your shared URL' Style="color: rgb(204, 204, 204);"></asp:TextBox>

No comments:

Post a Comment