Creditly.js – A Sleek Intuitive Credit Card Form
Whenever an error occurs after you call the validate method on a Creditly object, an event will be triggered on the HTML body element. This event, named creditly_client_validation_error, will contain a data object with the selectors of the inputs that failed validation and also the messages of the failed validation.
Requirements: jQuery Framework
License: MIT License