Materialize: Materialize not defined

Created on 5 Oct 2017  路  4Comments  路  Source: Dogfalo/materialize

Hello I try to use Materialize and jQuery this. The most simple solution but the label will not be updated with the active class.

The console sais that Materialize is not defined caused by jQuery. What is the problem. I can't see it. Thank you very much.

Codepen:
https://codepen.io/immertroll/pen/pWpgZd

Most helpful comment

You cannot use the slim version. https://codepen.io/tomscholz/pen/MErOze

All 4 comments

You cannot use the slim version. https://codepen.io/tomscholz/pen/MErOze

Use jquery.min.js instead of jquery.slim.min.js.

Thank you very much. Sometimes you can't see the forest for the trees. ;-)
Thank you a lot.

For some reasons, you have to include jquery and materialize js files at the end of the "body" tag as below




Was this page helpful?
0 / 5 - 0 ratings

Related issues

artur99 picture artur99  路  3Comments

Robouste picture Robouste  路  3Comments

ReiiYuki picture ReiiYuki  路  3Comments

onigetoc picture onigetoc  路  3Comments

lpgeiger picture lpgeiger  路  3Comments