🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

ccFormat.js is a very small jQuery plugin for build a credit card input, formatting numbers and telling you the detected credit card type.

Credit-Card

Documentation

jquery-creditcard-formatter

jQuery library that transforms credit card numbers via aesthetic formatting based on "defined" credit cards.

Examples

User inputs credit card number: 371449635398431 (American Express)
Result: 3714 4963539 8431

User inputs credit card number: 4111111111111111 (Visa)
Result: 4111 1111 1111 1111

User inputs credit card number: 2901000000000000 (Unknown)
Result: 2901000000000000

Demo

See a demo of the here.


You May Also Like