Hi All,
I want to show hide the textbox on click of <a> anchor tag, using javascript.
- <asp:TextBox ID="txtMobile" CssClass="form-control" placeholder="Your Mobile Number" runat="server" required="required" Style="display: none"></asp:TextBox>
- <asp:TextBox ID="txtEmail" CssClass="form-control" placeholder="Your Email Address" runat="server" required="required"></asp:TextBox>
- <a id="lnkToggle" style="font-size: smaller" >Sign in with mobile number?</a>
If I click SignIn with mobile then Mobile textbox should be visible, if I sign in with Email than Email textbox should be visible and hide the mobile textbox.