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