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.

Include jQuery examples as well

See original GitHub issue

It would be great to have all examples of plain JavaScript code with their jQuery equivalent. E.g. at https://v5.getbootstrap.com/docs/5.0/components/navs/#via-javascript

At least at https://v5.getbootstrap.com/docs/5.0/getting-started/javascript/#still-want-to-use-jquery-its-possible showing in parallel the jQuery code with the equivalent plain JavaScript code.

JFYI: I was not able to get $('[data-toggle="tooltip"]').tooltip()" working because I don’t see its connection with the code at https://v5.getbootstrap.com/docs/5.0/components/tooltips/#example-enable-tooltips-everywhere

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:4
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
XhmikosRcommented, Nov 19, 2020

After discussing this with @mdo on Slack, we’d prefer to have a separate section in docs with a couple of examples and link to it from each component. We believe it’s cleaner this way than adding a jQuery example in each component.

So, perhaps a new partial linking to the javascript examples.

0reactions
GeoSotcommented, Sep 7, 2022

Based on this documentation section https://getbootstrap.com/docs/5.2/getting-started/javascript/#optionally-using-jquery, I suppose we can close this issue

/cc @mdo

Read more comments on GitHub >

github_iconTop Results From Across the Web

An Introduction to jQuery | DigitalOcean
jQuery is a JavaScript file that you will link to in your HTML. There are two ways to include jQuery in a project,...
Read more >
Different ways to include jQuery in a Webpage - GeeksforGeeks
In this article, we are going to learn different ways to include jQuery on a page. Basically, we know that jQuery comes with...
Read more >
The Best jQuery Examples - freeCodeCamp
jQuery is the most widely-used JavaScript library, and is used in more than half of all major websites. It's motto is "write less,...
Read more >
Getting Started with jQuery UI
jQuery UI is a widget and interaction library built on top of the jQuery JavaScript Library that you can use to build highly...
Read more >
Load jQuery with Javascript and use jQuery - Stack Overflow
@Scott Yes. I have an application in which at installation it loads both jquery as well as a script. I need to load...
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