Hey, how are you guys? I'm developing a project with Materialize and this project is giving error in JS, can you help me? I'll be putting the following code:
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-beta/js/materialize.min.js"type="text/javascript"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"type="text/javascript"></script>
<script src="http://demo.expertphp.in/js/jquery.js"></script><scriptsrc="http://demo.expertphp.in/js/jquery-ui.min.js"></script>
$(document).ready(function() {
Materialize.updateTextFields();
$('.sidenav').sidenav();
$('.fixed-action-btn').floatingActionButton();
$('select').formSelect();
});
document.addEventListener('DOMContentLoaded', function() {
var elems = document.querySelectorAll('.fixed-action-btn');
var instances = M.FloatingActionButton.init(elems, {
direction: 'top',
hoverEnabled: false
});
});