Alert is not working

You should use $(this) instead of $("#app")

if($(this).is(':checked')){
   alert('hi')
}

Leave a Comment