All Topics 1133
Form Elements – Matrox HTML Theme
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?