• Resolved fgodineza

    (@fgodineza)


    The plugin is displaying an JQuery message in almost every page (even those that doesn’t have a contact form within it.

    I have extracted the error and code line from browser inspector, maybe it will give you a hint (I cannot leave the plugin on because it breaks all the website).

    I was not using country field, only phone field and for the records, it was not doing this behavior until 3 days ago.
    ——————————————–
    ?page_id=9869:335 Uncaught TypeError: $(…).countrySelect is not a function
    at HTMLDocument.<anonymous> (?page_id=9869:335)
    at i (jquery.js?ver=1.12.4:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
    at Function.ready (jquery.js?ver=1.12.4:2)
    at HTMLDocument.K (jquery.js?ver=1.12.4:2)

    <script type=’text/javascript’>
    (function($) {
    $(function() {
    $(“.wpcf7-countrytext”).countrySelect({

    });
    $(“.wpcf7-phonetext”).intlTelInput({
    autoHideDialCode: false,
    autoPlaceholder: “off”,
    nationalMode: false,
    separateDialCode: false,
    hiddenInput: “full_number”,

    });
    });
    })(jQuery);
    </script>

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘countrySelect is not a function’ is closed to new replies.