question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Does not work with jquery 3

See original GitHub issue

I 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:closed
  • Created 7 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
nestorrojas07commented, Feb 6, 2018

es porque se esta usando la version slim que no provee el soporte por lo que se debe usar la version de jquery.min

0reactions
korenevskiycommented, Mar 2, 2019

Please see, this don`t work this plugin with jQyery 3.3.1 in https://explorer-office.ru/download/gdpr

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found