Does not work with jquery 3
See original GitHub issueI am using bootstrap 4 and there is a problem with jquery version. I can’t call some methods like
show.bs >
because bootstrap 4 needs jquery 3. But if i load third jquery version slick can’t be initialized.
Somewhy bootstrap and slick worked if i called it like this:
<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.2.0/js/tether.min.js" integrity="sha384-Plbmg8JY28KFelvJVai01l8WyZzrYWG825m+cZ0eDDS1f7d/js6ikvy1+X+guPIB" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.4/js/bootstrap.min.js" integrity="sha384-VjEeINv9OSwtWFLAtmc4JCtEJXXBub00gtSnszmspDLCtC0I4z4nqz7rEFbIZLLU" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-2.2.0.min.js" type="text/javascript"></script>
<script src="./slick/slick.js" type="text/javascript" charset="utf-8"></script>
But if i called
<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.2.0/js/tether.min.js" integrity="sha384-Plbmg8JY28KFelvJVai01l8WyZzrYWG825m+cZ0eDDS1f7d/js6ikvy1+X+guPIB" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.4/js/bootstrap.min.js" integrity="sha384-VjEeINv9OSwtWFLAtmc4JCtEJXXBub00gtSnszmspDLCtC0I4z4nqz7rEFbIZLLU" crossorigin="anonymous"></script>
<script src="./slick/slick.js" type="text/javascript" charset="utf-8"></script>
Issue Analytics
- State:
- Created 7 years ago
- Comments:8
Top Results From Across the Web
jQuery Core 3.0 Upgrade Guide
In jQuery 3.0 this will always log "outside ready" followed by "ready" regardless of whether the document is ready at the point of...
Read more >jquery 3 ready function does not work correctly - Stack Overflow
Yes, it's problem of jquery. You need use document.AddEventListener("DOMContentLoaded", function() {...}); or fix jquery library.
Read more >6 steps to take if your jQuery is not working - CSS-Plus
6 steps to take if your jQuery is not working · 1. The file is not there or does not exist · 2....
Read more >5 Easy Ways to Fix the "jQuery is Not Defined" Error - Kinsta
The "jQuery is not defined" error means a call for a specific jQuery that wasn't available when the website loaded. Here's how to...
Read more >Why doesn't my jquery code work on an actual website?
ok so i figured it out… i have to actually install jquery onto my site by uploading the jquery-2.0.3.min.js file (or whatever the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
es porque se esta usando la version slim que no provee el soporte por lo que se debe usar la version de jquery.min
Please see, this don`t work this plugin with jQyery 3.3.1 in https://explorer-office.ru/download/gdpr