All Validation

Restrict Date Range in jQuery UI DatePicker for two dates

In this post, you will learn how to implement validation to "Restrict Date Range in jQuery UI DatePicker" or "End Date should be greater than Start Date by few days using jQuery Date Picker". When I say few days, which means end date must be at least StartDate + 4 or StartDate + 2.. The […]
Read the rest of this entry »

All kind of Client Side Validation using jQuery

Validation is most important and required feature on any web page. And Client side validation plays an important part. So find jQuery code to validate email address, phone number, date, date format, textbox with only number and many more validation techniques. Validate Email address using jQuery Validate Date format using jQuery Validate Date using jQuery […]
Read the rest of this entry »

Validate ASP.NET DropDownList using jQuery

In this small post, today I will show you how to validate ASP.NET DropDown List using jQuery. Let's declare a DropDownList. <asp:DropDownList ID="ddlList" runat="server"> <asp:ListItem Text="Select" Value="0" /> <asp:ListItem Text="jQuery" Value="1"></asp:ListItem> <asp:ListItem Text="JavaScript" Value="2"></asp:ListItem> <asp:ListItem Text="Prototype" Value="3"></asp:ListItem> <asp:ListItem Text="Dojo" Value="4"></asp:ListItem> <asp:ListItem Text="Mootools" Value="5"></asp:ListItem> </asp:DropDownList> To validate the dropdown list, all you need to do is […]
Read the rest of this entry »

Validate ASP.NET RadioButtonList using jQuery

ASP.NET RadioButtonList control is used to create a group of radio buttons, where all are rendered as an individual <input type=radio></input>. So in this post, I will show you how to validate ASP.NET RadioButtonList using jQuery. Let's declare a RadioButtonList. <asp:RadioButtonList ID="rdlList" runat="server"> <asp:ListItem Text="jQuery" Value="jQuery"></asp:ListItem> <asp:ListItem Text="JavaScript" Value="JavaScript"></asp:ListItem> <asp:ListItem Text="Prototype" Value="Prototype"></asp:ListItem> <asp:ListItem Text="Dojo" Value="Dojo"></asp:ListItem> […]
Read the rest of this entry »

Validate HTML CheckboxList using jQuery

In yesterday's post, I had posted about how to "Validate ASP.NET CheckboxList using jQuery", but pure HTML checkbox list is slightly different. The main problem is that it can't be accessed using ID because every checkbox will have different ID. But they share one common attribute which is "name". So while accessing checkboxes in jQuery, […]
Read the rest of this entry »

Validate ASP.NET CheckboxList using jQuery

ASP.NET CheckBoxList is group of checkboxes which is used to create a multi-selection check box group. In this post, I will show you how to validate ASP.NET CheckBoxList using jQuery. Let's declare a CheckboxList. <asp:CheckBoxList ID="CheckBoxList1" runat="server"> <asp:ListItem Text="Singing" Value="Singing"></asp:ListItem> <asp:ListItem Text="Writing" Value="Writing"></asp:ListItem> <asp:ListItem Text="Travelling" Value="Travelling"></asp:ListItem> <asp:ListItem Text="Blogging" Value="Blogging"></asp:ListItem> <asp:ListItem Text="Sports" Value="Sports"></asp:ListItem> </asp:CheckBoxList> As you […]
Read the rest of this entry »