New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: $(…).intlTelInput is not a function #631
Comments
You're calling |
I have now moved it around to this:
Still throwing the same error? |
If you reproduce the issue in a codepen I will take a look. |
Can I send you a link to the github repository? |
No, I need to see it up and running to debug it. |
same here, i used @types/ tel input. |
Facing the same issue |
I'm also having the same issue. |
Same here. Yii2 with borales\extensions\phoneInput\PhoneInput |
I had this issue. Just wrap the entire input code within;
|
This is the conflict issue with existing prototype. Try with add below line of code, hope this will help:
|
Having same issue after jquery upgraded to 3.1.1 Urgent! |
If you can reproduce the issue in a codepen (stripping down the code to the simplest possible form that reproduces the error), then I'm happy to take a look. |
May you please share your code sample. |
<script type="text/javascript" src="/javascript/intlTelInput.js"></script>
at the end of page <script> $(document).ready(function () { $('#PhoneCountryCode').intlTelInput(); $('.flag-dropdown').click(function () { addDialCodeExt(); }) }); function addDialCodeExt() { if ($('#PhoneCountryCode').val().indexOf('+') < 0) { $('#PhoneCountryCode').val("+"); } } </script> |
please share all code sample with html too. |
<script src="/javascript/2015/jquery-3.3.1.js"></script>
<script src="/javascript/2016/jquery-ui-1.12.1.min.js"></script>
<script src="/javascript/angular.min.js"></script>
<script type="text/javascript" src="/javascript/intlTelInput.js?version=43.1"></script>
|
Fixed |
Where do you see this? I can't find this particular code in the file that you mentioned "intlTelInput.js". Note that I am using v14.0.4 |
i can't find this too in v14.0.5 |
Actually i'm using two input in form-group but when i'm going to use help-block it's working if any of two option is filled or select but i want it two working with particular input.
.....
I don't wanna use intlTelInput.js |
<input matInput type="tel" class="form-contrl" [(ngModel)]="user.phoneNumber" name="phone" id="phoneNumber" autocomplete="off"/> |
I'm trying to use intlTelInput for a HTML registration page but I am getting the following error:
Uncaught TypeError: $(...).intlTelInput is not a function
Here is the registration view code:
I think it's an issue with jQuery and Angular but I'm not really sure.
The text was updated successfully, but these errors were encountered: