bootstrap.js应该在jquery.js之后还是之前运行? [英] Should bootstrap.js run after jquery.js or before?

查看:314
本文介绍了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之后还是之前运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆