All jQuery Validation

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 »

Validate Credit Card using jQuery Plugin

Have you ever come across a situation where you need to validate the credit card? Well, there is a good news now. There is a new plugin jQuery Credit Card Validator created by Pawel Decowski, which detects and validates credit card numbers. It’ll tell you the detected credit card type and whether the number length […]
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 "hotmail.com", user types "hotnail.com". 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 phone numbers using jQuery

Now days registration forms have phone numbers as mandatory field. But how to validate the entered phone number is correct or not? In this post, I will show you how to validate the phone number using jQuery. To validate the phone number, I have created a function which based on input, returns true or false. […]
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 »

Responsive Menu
Add more content here...