开发过程中使用bootstrap,需要行内编辑,现在需要引入bootstrap-table-editable.js和bootstrap-editable.js
引入文件报错
下面是在jsp中引入bootstrap中的js文件
<link href="${ctxStatic}/plugin/bootstrapTable/bootstrap-table.css" rel="stylesheet" />
<script src="${ctxStatic}/plugin/bootstrapTable/bootstrap-table.js"></script>
<script src="${ctxStatic}/plugin/bootstrapTable/bootstrap-table-zh-CN.js"></script>
<script src="${ctxStatic}/plugin/bootstrapTable/bootstrap-table-contextmenu.js"></script>
<script src="${ctxStatic}/plugin/bootstrapTable/bootstrap-table-export.js"></script>
<script src="${ctxStatic}/plugin/bootstrapTable/tableExport.js"></script>
<script src="${ctxStatic}/plugin/bootstrapTable/bootstrap-editable.min.js"></script>
<script src="${ctxStatic}/plugin/bootstrapTable/bootstrap-editable.js"></script>
<script src="${ctxStatic}/plugin/bootstrapTable/bootstrap-table-editable.js"></script>
<link href="${ctxStatic}/plugin/bootstrapTable/bootstrap-editable.css" rel="stylesheet"/>
下图是引入文件所在的文件夹
求大神们看一下什么原因。
你是不是没有引用bootstrap.js?