Ver original<script>function alertaChecked(event){ if(event.target.checked){ alert('checked'); }else{ alert('unchecked'); }}</script>