Water-Mark and Validation for Textbox using jquery

Category: JQUERY Comments: No comments

1. Add script to header 

<script type=”text/javascript” src=”http://dotnettricks-abdul.in/Contents/water-mark-1.0.1.js” ></script>

2. Add attribute to textbox

require: For required validation

email: For email validation

<asp:TextBox ID=”txtEmail” runat=”server” water-mark=”Email Id” validate=”required,email”></asp:TextBox>


Leave a Reply

Your email address will not be published. Required fields are marked *


HTML tags are not allowed.