All Validation

jQuery validation using class “.required” problem – Question from blog reader

Read How to Validate email address using jQuery Well, 5 days back I received an mail from one of my reader, in which he had written that "I need to validation html page using Jquery by looping through Class attributes ["Class=Required"] if the label attribute contain "required" class then i should validate the alert the […]
Read the rest of this entry »

End Date should not be less than Start Date using jQuery Date Picker

How many times you have seen this message on websites? OR as a programmer, you should have implemented this very common date validation which is "End Date should not be less than Start Date". Gone those days where you write long java script functions for date validation and alert/show a error message on screen. It […]
Read the rest of this entry »

Date validation for “MM/YYYY” using jQuery

You may done validation for "dd/mm/yyyy" format but today I need to do validation for "MM/YYYY" format. The end user will input the date in textbox and I need to validate the date. Below jQuery code validates the date using regular expression in "MM/YYYY" format only using jQuery. jQuery Code: $(document).ready(function() { $('#txtDate').blur(function() { if(validateDate('txtDate')) […]
Read the rest of this entry »

Alert user while typing invalid domain name using jQuery

It is very much possible that at the time of signup, user make mistake while entering the correct domain. For example, instead of "", user types "". And the wrong email address gets saved in database. And later on, when your website sends an email, the email will bounce. In this post, I will show […]
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 »

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 »

Responsive Menu
Add more content here...