Support » Plugin: WooCommerce » Checkout custom class for input

Viewing 1 replies (of 1 total)
  • Solved at wordpress forum by adding this class to all input, textarea fields.

    function my_footer_script() { ?>

    <script type=”text/javascript”>

    jQuery(document).ready(function($) {
    $(‘input, textarea’).addClass(‘data-hj-whitelist’);
    });

    </script>

    <?php }
    add_action(‘wp_print_footer_scripts’, ‘my_footer_script’);

Viewing 1 replies (of 1 total)
  • The topic ‘Checkout custom class for input’ is closed to new replies.