jquery hidden attr code example
Example 1: attr hidden to show jquery
$(':checkbox').change(function(){
$('#delete').removeAttr('hidden');
});
Example 2: jquery add hidden attribute
$('#check').change(function() {
$("#delete").prop("hidden", !this.checked);
})