igorescobar / jQuery-Mask-Plugin

A jQuery Plugin to make masks on form fields and HTML elements.
http://igorescobar.github.io/jQuery-Mask-Plugin/
Other
4.77k stars 1.42k forks source link

'Uncaught TypeError: $(...).mask is not a function' error on .NET Core MVC app. #780

Open MarcusRhodes opened 2 years ago

MarcusRhodes commented 2 years ago

I installed the plugin using the instructions for Typescript here, so just used this in the console: npm install --save-dev @types/jquery-mask-plugin

When I try to use the code $("#inputID").mask('AAAAAAAAAA'); in the app, I get this error in devtools when running the project: Uncaught TypeError: $(...).mask is not a function

Am I using this wrong because it is typescript? My version is 4.1.3

Carlosfrts commented 2 years ago

Same problem here.

p8008d commented 1 year ago

Same !

MRSheikh commented 6 months ago

me too !!

vsvsav commented 6 months ago

+1 (.NET8 s-SSR)