3
Answers

Keep text in the TextBox at the end

pavan  prasad

pavan prasad

9y
393
1

Keep text in the TextBox at the end like TextBox of GMail account creation

I would like keep a text in the TextBox at the end (for reference please see the mail TextBox of GMail account creation).

I would like to know in JavaScript/HTML/ASP.NET. Please let me know

<input type="text" id="txt1" placeholder="@gmail.com" runat="server" /> and  <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <cc1:TextBoxWatermarkExtender ID="TextBox1_TextBoxWatermarkExtender" runat="server" BehaviorID="TextBox1_TextBoxWatermarkExtender" TargetControlID="TextBox1" WatermarkText="@gmail.com"> </cc1:TextBoxWatermarkExtender>
please let me know.
Answers (3)