Microsoft JScript runtime error: Object doesn't support property or method 'validate'

后端 未结 2 1097
你的背包
你的背包 2021-01-29 05:16

This issue is that i am getting the error, Microsoft JScript runtime error: Object doesn\'t support property or method \'validate\'. Couldn\'t figure out why. Any suggestions?

2条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-29 05:43

    If using Visual Studio the simplest way is to use the NuGet extension to download jQuery. If you don't have it you can find it at www.codeplex.com and install it. Then go to Tools -> Library Package Manager -> Manage NuGet Packages within Visual Studio and search for jQuery. Once this is installed, the Script folder within your project will have the required files.

    Modify the path within your view.cshtml file to point to the current version of jQuery e.g 1.7.1 in this case

提交回复
热议问题