HugoDesign free asked 7 years ago

Problem with the initialization of the select

tianyi free answered 6 years ago

It seems it didn't work because that material select is part of the premium package. I am using the free version. Didn't notice that. So never mind then.

tianyi free answered 6 years ago

Hi, I am exactly the same problem here. Any idea why? My test for this is quite simple, downloaded the zip file, added one select in the body, and added the initialise code.
    <!-- Start your project here-->
    <select class="mdb-select" >
      <option value="" selected>Choose your option</option>
      <option value="1">Option 1</option>
      <option value="2">Option 2</option>
      <option value="3">Option 3</option>
    <label>Example label</label>
    <!-- /Start your project here-->
    <!-- SCRIPTS -->
    <!-- JQuery -->
    <script type="text/javascript" src="js/jquery-2.2.3.min.js"></script>
    <!-- Bootstrap tooltips -->
    <script type="text/javascript" src="js/tether.min.js"></script>
    <!-- Bootstrap core JavaScript -->
    <script type="text/javascript" src="js/bootstrap.min.js"></script>
    <!-- MDB core JavaScript -->
    <script type="text/javascript" src="js/mdb.min.js"></script>
     $(document).ready(function() {

HugoDesign free answered 7 years ago

Ready, and send files

Michal Szymanski staff answered 7 years ago

Make a zip with all your files and send it to me at . I'll take a look at it and figure out what's wrong.

HugoDesign free answered 7 years ago

If I used the code documentation I have the same structure of files and when implementing the select on the form does not make the same effect as in the examples in the documentation , I created a Js file where I have the function invokes the said select. But when placing the function which is as follows: $(document).ready(function () { $('select').material_select(); }); The console throws me an error saying that no function is . ScreenShot-1 ScreenShot-2 ScreenShot-3

Michal Szymanski staff answered 7 years ago

Any more details? Doesn't it work for you? Did you use code from documentation? It seems to work fine.

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.


Specification of the issue

  • User: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No