How do I add a expiration date validation to this credit card form
- by user362050
Expiration Month
var month = new Array("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sept", "Oct", "Nov", "Dec");
for (var m=0; m" +month[m]+ "");
}
Expiration Year
var year = new Date();
var year2 = year.getFullYear();
for (y=0; y" +(year2+y)+ "");
document.write("");
}