hasan shamsi

hasan shamsi

  • NA
  • 6
  • 757

Validating server side control by Jquery - ASP-Master Pages

Aug 20 2015 1:36 AM
This is my textbox
 
<asp:TextBox runat="server" ID="txtCustomerID"  CssClass="form-control" >
</asp:TextBox>
 
 Jquery
.
.
 
form2.validate({
.
.
rules: {
name:{
minlength: 2,
required: true
},
 .
.
.
 
 
How I change this jQuery to work for that server side textbox(txtCustomerID).
This Jquery is woring for HTML controls for (name) attribute but I am not able to make this work for server side textbox.
 
 
Kindly Help me.
 
Thanks 

Answers (4)