jQuery-Mask-Plugin icon indicating copy to clipboard operation
jQuery-Mask-Plugin copied to clipboard

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

Open MarcusRhodes opened this issue 4 years ago • 4 comments

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

MarcusRhodes avatar Nov 02 '21 16:11 MarcusRhodes

Same problem here.

Carlosfrts avatar May 24 '22 15:05 Carlosfrts

Same !

p8008d avatar Feb 20 '23 09:02 p8008d

me too !!

MRSheikh avatar Feb 04 '24 07:02 MRSheikh

+1 (.NET8 s-SSR)

vsvsav avatar Feb 20 '24 13:02 vsvsav