Я получаю эту ошибку, которая говорит, что jQuery не определен. Я хочу использовать twitter bootstrap и jQuery-UI. В моем <head>
я добавил CSS и JS. Я заметил, что на странице jQuery-UI используется 1.9.1 jQuery, а последняя версия - 1.10.2. Поэтому я предполагаю, что происходит какой-то конфликт. Щебетать bootstrap требует jQuery, чтобы вызвать ошибку. Или, возможно, я что-то делаю неправильно.
Руководитель:
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="#" onclick="location.href='http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css'; return false;" />
<link rel="stylesheet" href="#" onclick="location.href='http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-theme.min.css'; return false;" />
<link rel="stylesheet" href="#" onclick="location.href='http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css'; return false;" />
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
</head>
Ошибка:
Uncaught ReferenceError: jQuery is not defined bootstrap.min.js:6
(anonymous function) bootstrap.min.js:6