kewljedi/jquery-creditcards — pull request #3 by mitcht (2011-12-12 21:28:22+00:00)
Title: Develop

This demonstrates what you need. I didn't provide any human feedback on the CCV (3 digit code) validation for the default 'non callback' use of the plugin because I ran out of time. I thought it be more pertinent to get it working where you can set up the callback to execute custom theme-changing jQuery code. Right now it just displays an alert, but you can easily change that to switch out a class or something of the like.