jeudi 27 juillet 2017

using checkbox in materialize css, and page disappears after toggling the check box

I'm using a checkbox in my html from just lick this:

<div class="input-field col s12 m6 right">
    <input type="checkbox" id="myCheckbox" class="filled-in" />
    <label for="myCheckbox">label text</label>
</div>

but when I click on the checkbox,page disappears and get blank and I when i refresh again, page still is blank, is there any way to solve this?




Aucun commentaire:

Enregistrer un commentaire