Skip to content
Advertisement

selectpicker is not a function?

I am working on a filter on a website using jQuery with JSON data. Yesterday this filter was working fine. It is now showing an error:

selectpicker is not a function

Can anyone please help me to sort out this issue?

JavaScript

Advertisement

Answer

You need to move bootstrap-select.min.js at the end of all jquery importation for exclude function rewriting.

I cant make a test but you can try this:

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement