我正在使用这个模板。
ace.min.js 的一个功能(带有模板)我得到一个错误,我不知道为什么会这样。所有 .js 都已加载。
是不是顺序有问题?或者我做错了什么?
任何有关这方面的线索都会有所帮助。
错误:Uncaught TypeError: Cannot set property 'checked' of undefined ace.min.js:11
ace.general_things ace.min.js:11
(anonymous function) ace.min.js:6
l jquery-2.0.3.min.js:4
c.fireWith jquery-2.0.3.min.js:4
x.extend.ready jquery-2.0.3.min.js:4
S
我的布局是这样的,
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>@ViewBag.Title</title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/png" href="@Url.Content("~/favicon.ico")" />
<!--basic styles-->
<link href="@Url.Content("~/Content/wrap/assets/css/bootstrap.min.css")" rel="stylesheet" />
<link href="@Url.Content("~/Content/wrap/assets/css/bootstrap-responsive.min.css")" rel="stylesheet" />
<link rel="stylesheet" href="@Url.Content("~/Content/wrap/assets/css/font-awesome.min.css")" />
<!-- esta estaba en la validacion de forms -->
<link rel="stylesheet" href="@Url.Content("~/Content/wrap/assets/css/select2.css")" />
<!--[if IE 7]>
<link rel="stylesheet" href="@Url.Content("~/Content/wrap/assets/css/font-awesome-ie7.min.css")" />
<![endif]-->
<!--page specific plugin styles-->
<!--fonts-->
<link rel="stylesheet" href="@Url.Content("~/Content/wrap/assets/css/ace-fonts.css")" />
<!--ace styles-->
<link rel="stylesheet" href="@Url.Content("~/Content/wrap/assets/css/ace.min.css")" />
<link rel="stylesheet" href="@Url.Content("~/Content/wrap/assets/css/ace-responsive.min.css")" />
<link rel="stylesheet" href="@Url.Content("~/Content/wrap/assets/css/ace-skins.min.css")" />
<!--[if lte IE 8]>
<link rel="stylesheet" href="@Url.Content("~/Content/wrap/assets/css/ace-ie.min.css")" />
<![endif]-->
<!--inline styles related to this page-->
<!--ace settings handler-->
<!--basic scripts-->
<script type="text/javascript" src="@Url.Content("~/Content/wrap/assets/js/ace-extra.min.js")" > </script>
</head>
<body >
....
<!--[if !IE]>-->
<script type="text/javascript" src="@Url.Content("~/Content/wrap/assets/js/jquery-2.0.3.min.js")" > </script>
<!--<![endif]-->
<!--[if IE]>
<script type="text/javascript" src="@Url.Content("~/Content/wrap/assets/js/jquery-1.10.2.min.js")" > </script>
<script type="text/javascript">
</script>
<![endif]-->
<!--
<script type="text/javascript">
if ("ontouchend" in document) document.write("<script src='@Url.Content("~/Content/wrap/assets/js/jquery.mobile.custom.min.js'>" + "<" + "/script>");
</script>
-->
<script type="text/javascript" src="@Url.Content("~/Content/wrap/assets/js/bootstrap.min.js")" > </script>
<!--page specific plugin scripts-->
<script type="text/javascript" src="@Url.Content("~/Content/wrap/assets/js/jquery.dataTables.min.js")" > </script>
<script type="text/javascript" src="@Url.Content("~/Content/wrap/assets/js/jquery.dataTables.bootstrap.js")"> </script>
<script type="text/javascript" src="@Url.Content("~/Scripts/jquery.dataTables.reloadAJAX.min.js")" > </script>
<!--ace scripts-->
<script type="text/javascript" src="@Url.Content("~/Content/wrap/assets/js/ace-elements.min.js")" > </script>
<script type="text/javascript" src="@Url.Content("~/Content/wrap/assets/js/ace.min.js")" > </script>
<!--inline scripts related to this page-->
</body>
问候。