Topic: Erreur Js, Uncaught TypeError: $(...).materialSelect is not a function
                  
                  jonathankablan
                  free
                  asked 6 years ago
                
Bonjour je n'arrive pas a utilise certains composent js.j'ai acheter la version pro , j'ai recuperé les sources pour traité sur mon projet.les champs select ne s'affiche pas correctement. comment je pourrait reglé sa ?
j'utilise bien la version 4.7.6 et non la version 4.7.5
Uncaught TypeError: $(...).materialSelect is not a function
                      
                      jonathankablan
                      free
                        answered 6 years ago
                    
Get my config html
1- https://code.jquery.com/jquery-3.3.1.min.js 2- assets/front/js/popper.min.js 3- assets/front/js/bootstrap.min.js 4- assets/front/js/mdb.min.js
$(document).ready(function() {
    new WOW().init();
    $('.mdb-select').materialSelect();
});
                    
                      
                      
                      jonathankablan
                      free
                        answered 6 years ago
                    
Hi, i have use mdb.min.js
Piotr Glejzer staff commented 6 years ago
It looks like you don't have correct paths to mdb.js or you try to initiate material select before scripts tags with mdb.min.js . We don't have any problems with initiate material select.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Free
 - Premium support: No
 - Technology: MDB jQuery
 - MDB Version: 4.7.5
 - Device: Desktop
 - Browser: Chrome
 - OS: Macbook pro
 - Provided sample code: No
 - Provided link: No
 
Piotr Glejzer staff commented 6 years ago
Hi, do you have corrects paths to mdb files like mdb.js or mdb.min.js?
jonathankablan free commented 6 years ago
Hi, i have use mdb.min.js