Script to add mask in input phone the Divi Theme.

Oct 23rd, 2019
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!--
  2. * WordPress Plugin: Masks Form Fields - https://wordpress.org/plugins/masks-form-fields/
  3. * JavaScript - Custom script to add mask in input phone the Divi Theme.
  4. * Go to Divi Theme Options -> Integration set "Enable header code" and add below code in "Add code to the < head > of your blog".
  5. -->
  6. <script type="text/javascript">
  7. jQuery(document).ready(function($){
  8.     $("input[name='PHONE-INPUT-NAME']").addClass("phone_us");
  9. });
  10. </script>
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.