Answer the question
In order to leave comments, you need to log in
Why is JQ not working in bootstrap?
Heeeelp guys!
I am making a new layout for the block on bootstrap, but for some reason jq does not work. IDE writes that the $ sign is generally something foreign.
But, if I make effects using bootstrap itself, then they work, simple js too. I've been toiling for 3 hours already, Google does not help.
I am attaching a link to the code:
https://github.com/pers1307/Verstka
Answer the question
In order to leave comments, you need to log in
1. In layout, you can not specify type="text/javascript" - it is set by default for the script Just by the way.
2. And try to replace your redi document with this option, with jquery no conflict
"use strict";
console.log('script.js'); // убидитесь в подключение вашего файла.
(function ($) {
$(function () {
// тут набирайте свои обращения.
});
}) (jQuery);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question