未捕获的TypeError:无法读取未定义的属性“msie”

时间:2016-05-30 06:03:00

标签: javascript c# jquery asp.net-mvc-4

我使用Nuget管理器更新jQuery:

  

Install-Package jQuery

发生以下错误:

  

jquery.maskedinput-1.2.2.js:9未捕获的TypeError:无法读取未定义的属性'msie'

但jQuery成功更新。

Successfully installed 'jQuery 2.2.3'.
Successfully removed 'Microsoft.jQuery.Unobtrusive.Ajax 2.0.20710.0' from IIT_WEB_APP.
You are downloading Microsoft.jQuery.Unobtrusive.Ajax from Microsoft, the license agreement to which is available at http://www.microsoft.com/web/webpi/eula/mvc_4_eula_enu.htm. Check the package for additional dependencies, which may come with their own license agreement(s). Your use of the package and dependencies constitutes your acceptance of their license agreements. If you do not accept the license agreement(s), then delete the relevant components from your device.
Successfully installed 'Microsoft.jQuery.Unobtrusive.Ajax 2.0.30506.0'.
Successfully added 'Microsoft.jQuery.Unobtrusive.Ajax 2.0.30506.0' to IIT_WEB_APP.
The intellisense file was not found in project at path D:\AAAAAAAAAAAA From Rezon\IIT_NEW_Stable_26-05-16_2\IIT_NEW\IIT_WEB_APP\Scripts\jquery-1.7.1.intellisense.js
Successfully removed 'jQuery 1.7.1.1' from IIT_WEB_APP.
Successfully added 'jQuery 2.2.3' to IIT_WEB_APP.
IntelliSense JS files are not supported by your version of Visual Studio: 10
Successfully uninstalled 'Microsoft.jQuery.Unobtrusive.Ajax 2.0.20710.0'.
Successfully uninstalled 'jQuery 1.7.1.1'.

如何解决此问题?

1 个答案:

答案 0 :(得分:1)

Masked Input Plugin仅支持jQuery版本1.9:

http://digitalbush.com/projects/masked-input-plugin/(参见更改日志)

相关问题