Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * WordPress Plugin: Masks Form Fields - https://wordpress.org/plugins/masks-form-fields/
- * JavaScript - Custom script to add mask in input phone the WooCommerce.
- */
- jQuery(document).ready(function($){
- $("input[name='billing_phone']").mask("(000) 000-0000");
- });
- /**
- * OR only add class to input.
- */
- jQuery(document).ready(function($){
- $("input[name='billing_phone']").addClass("phone_us");
- });
RAW Paste Data
Copied