jQuery 1.8.3, HTML, CSS, JavaScript
This code snippet analyzes the given card number and checks, if it is valid and not just random. Thanks to David Walsh who wrote the base. http://davidwalsh.name/validate-credit-cards I improved his code with the Luhn algorithm.
Mootools 1.3.1 (compat), HTML, CSS, JavaScript