Unable to initialize external jQuery in Magento2 Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?

How many time has Arya actually used Needle?

Amount of permutations on an NxNxN Rubik's Cube

How did Fremen produce and carry enough thumpers to use Sandworms as de facto Ubers?

What does Turing mean by this statement?

Why is it faster to reheat something than it is to cook it?

Dyck paths with extra diagonals from valleys (Laser construction)

How to compare two different files line by line in unix?

Lagrange four-squares theorem --- deterministic complexity

Why weren't discrete x86 CPUs ever used in game hardware?

What is Adi Shankara referring to when he says "He has Vajra marks on his feet"?

How would a mousetrap for use in space work?

A term for a woman complaining about things/begging in a cute/childish way

Sentence with dass with three Verbs (One modal and two connected with zu)

Can a Beast Master ranger change beast companions?

Sum letters are not two different

What is an "asse" in Elizabethan English?

What does it mean that physics no longer uses mechanical models to describe phenomena?

Do I really need to have a message in a novel to appeal to readers?

Do wooden building fires get hotter than 600°C?

How can I prevent/balance waiting and turtling as a response to cooldown mechanics

Misunderstanding of Sylow theory

Central Vacuuming: Is it worth it, and how does it compare to normal vacuuming?

Why do early math courses focus on the cross sections of a cone and not on other 3D objects?

How could we fake a moon landing now?



Unable to initialize external jQuery in Magento2



Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I would like to initialize intlTelInput for the country code column. I have done below,



in requirejs.config.js added below



var config = 
deps: [
"Ucs_Reson8/js/countryCode"
],
paths:
'intlTelInput': 'Ucs_Reson8/js/intlTelInput',
,
shim:
'intlTelInput':
deps: ['jquery'],
exports: 'jQuery.fn.intlTelInput',



;


Then in countryCode.js added below,



require([
'jquery',
'intlTelInput',
],
function($)
console.log('sample function 1234567');
$(window).load(function()
jQuery("#country_code").intlTelInput(
initialCountry: "ae",
separateDialCode: true,
preferredCountries: ["ae","bh","kw","om","qa","sa"],
//onlyCountries: ["ae","bh","kw","om","qa","sa"],

);
);
);


But I am getting the error as below in the browser console.




TypeError: jQuery(...).intlTelInput is not a function




But in the page source I can see the utilsIntel.js









share




























    0















    I would like to initialize intlTelInput for the country code column. I have done below,



    in requirejs.config.js added below



    var config = 
    deps: [
    "Ucs_Reson8/js/countryCode"
    ],
    paths:
    'intlTelInput': 'Ucs_Reson8/js/intlTelInput',
    ,
    shim:
    'intlTelInput':
    deps: ['jquery'],
    exports: 'jQuery.fn.intlTelInput',



    ;


    Then in countryCode.js added below,



    require([
    'jquery',
    'intlTelInput',
    ],
    function($)
    console.log('sample function 1234567');
    $(window).load(function()
    jQuery("#country_code").intlTelInput(
    initialCountry: "ae",
    separateDialCode: true,
    preferredCountries: ["ae","bh","kw","om","qa","sa"],
    //onlyCountries: ["ae","bh","kw","om","qa","sa"],

    );
    );
    );


    But I am getting the error as below in the browser console.




    TypeError: jQuery(...).intlTelInput is not a function




    But in the page source I can see the utilsIntel.js









    share
























      0












      0








      0








      I would like to initialize intlTelInput for the country code column. I have done below,



      in requirejs.config.js added below



      var config = 
      deps: [
      "Ucs_Reson8/js/countryCode"
      ],
      paths:
      'intlTelInput': 'Ucs_Reson8/js/intlTelInput',
      ,
      shim:
      'intlTelInput':
      deps: ['jquery'],
      exports: 'jQuery.fn.intlTelInput',



      ;


      Then in countryCode.js added below,



      require([
      'jquery',
      'intlTelInput',
      ],
      function($)
      console.log('sample function 1234567');
      $(window).load(function()
      jQuery("#country_code").intlTelInput(
      initialCountry: "ae",
      separateDialCode: true,
      preferredCountries: ["ae","bh","kw","om","qa","sa"],
      //onlyCountries: ["ae","bh","kw","om","qa","sa"],

      );
      );
      );


      But I am getting the error as below in the browser console.




      TypeError: jQuery(...).intlTelInput is not a function




      But in the page source I can see the utilsIntel.js









      share














      I would like to initialize intlTelInput for the country code column. I have done below,



      in requirejs.config.js added below



      var config = 
      deps: [
      "Ucs_Reson8/js/countryCode"
      ],
      paths:
      'intlTelInput': 'Ucs_Reson8/js/intlTelInput',
      ,
      shim:
      'intlTelInput':
      deps: ['jquery'],
      exports: 'jQuery.fn.intlTelInput',



      ;


      Then in countryCode.js added below,



      require([
      'jquery',
      'intlTelInput',
      ],
      function($)
      console.log('sample function 1234567');
      $(window).load(function()
      jQuery("#country_code").intlTelInput(
      initialCountry: "ae",
      separateDialCode: true,
      preferredCountries: ["ae","bh","kw","om","qa","sa"],
      //onlyCountries: ["ae","bh","kw","om","qa","sa"],

      );
      );
      );


      But I am getting the error as below in the browser console.




      TypeError: jQuery(...).intlTelInput is not a function




      But in the page source I can see the utilsIntel.js







      magento2.3





      share












      share










      share



      share










      asked 4 mins ago









      ButterflyButterfly

      80842249




      80842249




















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "479"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f270818%2funable-to-initialize-external-jquery-in-magento2%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid …


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f270818%2funable-to-initialize-external-jquery-in-magento2%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Вунгтау (аеропорт) Загальні відомості | Див. також | Посилання | Навігаційне меню10°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.0833310°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.083337731608Vinh AirportVinh airport facelift improves serviceвиправивши або дописавши їївиправивши або дописавши їїр

          Solving a linear system of reciprocals.Solving system of multivariable 2nd-degree polynomialsProblem with system of equationsSolving a system of equations with variables in denominator.Solving system of non-linear equations.Solving a combined system of linear and bilinear equationsSolving system of linear equations ( 4 variables, 3 equations)Solving a system of 4 non-linear equationsSolving a linear system of congruencesEasier solution for system of equations.Solve the following system of equations - (4).

          Where would I need my direct neural interface to be implanted?How would a user interact with a direct neural interface?In the future, how would a cybernetic implant work?