Good, I'm starting to use jquery so I still do not know much, I'd like to do the following. I have a checkbox. simple. but that I am loading by default 'checked' and I want that when trying to deface it I get a confirmation message in javascript. How could I solve this?
<div class="switch">
<label>Guardar<input type="checkbox" value="1" class="check" checked><span class="lever"></span>
</label>
</div>