Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
woocommerce
/
assets
/
js
/
frontend
:
credit-card-form.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
jQuery( function( $ ) { $( '.wc-credit-card-form-card-number' ).payment( 'formatCardNumber' ); $( '.wc-credit-card-form-card-expiry' ).payment( 'formatCardExpiry' ); $( '.wc-credit-card-form-card-cvc' ).payment( 'formatCardCVC' ); $( document.body ) .on( 'updated_checkout wc-credit-card-form-init', function() { $( '.wc-credit-card-form-card-number' ).payment( 'formatCardNumber' ); $( '.wc-credit-card-form-card-expiry' ).payment( 'formatCardExpiry' ); $( '.wc-credit-card-form-card-cvc' ).payment( 'formatCardCVC' ); }) .trigger( 'wc-credit-card-form-init' ); } );