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