简体   繁体   English

引导覆盖jQuery插件

[英]Bootstrap overiding jquery plugin

I am new to mvc5 and bootstrap and applying an jquery plugin in but the style is not geting updated. 我是mvc5和bootstrap的新手,并在其中应用了jquery插件,但是样式没有得到更新。 Is there anyway that i can prevent the bootstrap overiding? 无论如何,我可以防止引导程序覆盖吗?

the code am using in view is as follows 视图中使用的代码如下

<script language="javascript" type="text/javascript">
    $(document).ready(function () {

        $('#myDataTable').dataTable().makeEditable();
    });
</script>

the files that i am binding are as follows 我绑定的文件如下

<script src="~/Content/jquery.dataTables_themeroller.min.css" type="text/css"> </script>
<script src="~/Content/jquery-ui-1.10.4.min.css" type="text/css"></script>

<script src="~/Scripts/jquery-1.10.2.min.js" type="text/javascript"></script>
<script src="~/Scripts/jquery-ui-1.10.4.min.js" type="text/javascript"></script>
<script src="~/Scripts/jquery.dataTables.min.js" type="text/javascript"></script>
<script src="~/Scripts/jquery.dataTables.editable.js" type="text/javascript"></script>
<script src="~/Scripts/jquery.validate.js" type="text/javascript"></script>

The js script style wasnt loading in the page. 页面中未加载js脚本样式。 It resolved by binding all the js files after bootstrap.css and bootstrap.js in layout.cshtml – 通过在layout.cshtml中的bootstrap.css和bootstrap.js之后绑定所有js文件来解决–

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM