Skip to content

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

Description

@MarcusRhodes

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions