Open gsavage323 opened 4 years ago
Which version did you use?
2.0.5
Do you mean 5.0.2? There is no version 2.0.5 on nuget.
Correct it is 5.0.2
@gsavage323 ,
Ypu need to include the jquery.inputmask....
I included jquery.inputmask and it still does not work and give an error in the console log
Can you provide some more information.
I also should push a newer version to nuget
This could even be #2285 . That's what I have as well: once inputmask's initialization fails, all consecutive actual usage of inputmask will also fail too. @gsavage323 check if you have a preceding exception like quoted in #2285 before you got the exception about .inputmask(...)
.
I installed input mask from NUGET package manager. In my main layout page I included jquery3.4.1 and inputmask.min.js vs 2.0.5 in the head. And then on the page I intend to use the input mask I use the following script in a $(document).ready(funtion(){ $("#txtPhone").inputmask({mask:"(999) 999-9999"}); }) But when I open the page the mask doesn't work. Any ideas? Just for clarity I will post the entire head script and style section
I also get this error in console when I run the page: jquery-3.4.1.min.js:2 Uncaught TypeError: $(...).inputmask is not a function at HTMLDocument. (AddUsers:159)
at e (jquery-3.4.1.min.js:2)
at t (jquery-3.4.1.min.js:2)
One more point of clarity I am running the site in Chrome Version 80.0.3987.163 (Official Build) (64-bit)