Running into an issue with KendoUi and the latest version of jQuery ... I have simple ASP.NET MVC project with a single view that renders as follows:

与KendoUi和最新版本的jQuery发生冲突……我有简单的ASP。NET MVC项目,只有一个视图呈现如下:

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
    <link href="/Content/site.css" rel="stylesheet"/>
    <script src="/Scripts/modernizr-2.5.3.js"></script>
</head>
<body>   
<h2>Index</h2>
    <script src="/Scripts/jquery-1.9.0.js"></script>
    <script src="http://cdn.kendostatic.com/2012.3.1114/js/kendo.all.min.js" type="text/javascript"></script> 
</body>
</html>

When I view the page, I am receiving the following error in my javascript console:

当我查看页面时,我在javascript控制台中收到以下错误:

Uncaught TypeError: Object function ( selector, context ) {
        // The jQuery object is actually just the init constructor 'enhanced'
        return new jQuery.fn.init( selector, context, rootjQuery );
    } has no method 'sub' 

kendo.all.min.js:10

Anyone else running into this issue? And what am I doing incorrect?

还有谁遇到这个问题?我做错了什么?

1 个解决方案

#1


8

What jrummell said - we don't officially support jQuery 1.9.0 yet, as it was released on the same day as our service pack. jQuery 1.9.0 has a number of breaking changes since 1.8.x and if you need it to be API compatible with 1.8, please also include the jQuery Migrate plugin.

jrummell说——我们还没有正式支持jQuery 1.9.0,因为它是在我们的服务包的同一天发布的。自1.8以来,jQuery 1.9.0已经进行了许多重大更改。如果您需要它与1.8兼容的API,请包含jQuery migration plugin插件。

Update: Kendo UI Q1 2013 supports and ships with jQuery 1.9.1.

更新:Kendo UI Q1 2013支持jQuery 1.9.1并发布。

更多相关文章

  1. 儿童视图不在angular-ui-router中工作
  2. 可以将Eclipse配置为防止某些警告出现在Problems视图窗格中吗?
  3. 在Codeigniter中将javascript变量从视图发送到控制器[重复]
  4. 在php项目中, mysql视图常用吗?
  5. 通过SSH将MySQL绑定到本地端口——在控制台工作,而不是通过Mac OS
  6. [CI]CodeIgniter视图 & 模型 & 控制器
  7. 在CodeIgniter中包含视图的最佳方法。
  8. 如何使用mysqldump在帐户之间复制视图?
  9. MySQL数据库8(二十)视图

随机推荐

  1. Android(安卓)wifi-framework WifiMonito
  2. 在Linux下安装Android(安卓)SDK
  3. Android恶意代码分析与渗透测试
  4. Android开发艺术探索——第二章:IPC机制(上
  5. Android 中各种JAVA 包的功能描述
  6. 我的Android学习计划--走在架构师的路上
  7. Android(安卓)ANR 探索
  8. Android:SNS客户端开发三:数据库操作(一)
  9. 为什么iOS比Android更吸引开发者
  10. Android ListView拖动时背景变黑的解决方