How do I add a expiration date validation to this credit card form

Posted by user362050 on Stack Overflow See other posts from Stack Overflow or by user362050
Published on 2010-06-09T04:25:11Z Indexed on 2010/06/09 4:32 UTC
Read the original article Hit count: 271

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("
"); }

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about validation