bootstrap.js应该在jquery.js之后还是之前运行?

编程入门 行业动态 更新时间:2024-10-24 12:30:40
本文介绍了bootstrap.js应该在jquery.js之后还是之前运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想同时使用jQuery ui和bootstrap,有一个解决方案 jquery-ui-bootstrap

I want use both jquery ui and bootstrap , there is a solution jquery-ui-bootstrap

并且您必须在jqueryui之前加载bootstrap,如果不这样做将会出现错误.例如:Bialog按钮将失去样式.

and you must load bootstrap before jqueryui, if you won't there will apear something wrong . eg: Bialog buttons will be lose style.

但是,如果在jquery之前加载引导程序,则使用单选按钮时还会出现另一个错误. 与此有关的另一个问题

but there is another error when you use radio-button if you load bootstrap before jquery. another question about this

是吗? bootstrap.js应该在jquery.js之后还是之前运行?

so? Should bootstrap.js run after jquery.js or before?

推荐答案

我很确定您应该首先加载jquery,因为引导程序使用jquery功能.

Im pretty sure you should load jquery first because bootstrap use jquery features.

更多推荐

bootstrap.js应该在jquery.js之后还是之前运行?

本文发布于:2023-10-27 11:37:39,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1533243.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:bootstrap   js   jquery

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!