Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: $(...).bsMultiSelect is not a function #56

Open
sd-evo opened this issue Feb 23, 2024 · 3 comments
Open

TypeError: $(...).bsMultiSelect is not a function #56

sd-evo opened this issue Feb 23, 2024 · 3 comments

Comments

@sd-evo
Copy link

sd-evo commented Feb 23, 2024

Hello everyone!
I'm trying to use a plugin on Bootstrap v5.3.2 and JQuery 3.7.1

In the head section, I included:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@dashboardcode/[email protected]/dist/css/BsMultiSelect.min.css">
<script src="/public/js/jquery-3.7.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"></script>
<script src="/public/js/bootstrap.bundle.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@dashboardcode/[email protected]/dist/js/BsMultiSelect.min.js"></script>

Then I created a "select" with id="day_of_week" in the body and added at the bottom of the page:

<script>
    $("#day_of_week").bsMultiSelect();
</script>

However, I'm getting an error: "Uncaught TypeError: $(...).bsMultiSelect is not a function"
What could be the issue?

@AngeloMerlo
Copy link

same here

@rpokrovskij
Copy link
Contributor

Thank you... I will test it today.

@sd-evo
Copy link
Author

sd-evo commented Apr 29, 2024

@rpokrovskij any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants