All Topics 1133
SupportCategory: Materialize HTMLForm Elements – Matrox HTML Theme
Form Elements – Matrox HTML Theme
By Scott Taylor asked 7 years ago

Hi there, I am trying to add a number of select form fields. I added this code from your answer above to my HTML page: 

<div class="row">
<div class="input-field col-md-4">
<select>
<option value="" disabled selected>Choose your option</option>
<option value="1">Option 1</option>
<option value="2">Option 2</option>
<option value="3">Option 3</option>
</select>
</div>
</div>

Now I am trying to initialize the select element with this code:

$(document).ready(function() { 
$('select').material_select();
});

But..WHERE does that ^ code go?

Support is Offline

Our office hours

Monday - Thursday / 10am - 6pm (GMT +6)

Our Time

Your Time