All jQuery Validation

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 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 »

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 »

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 »

Responsive Menu
Add more content here...