type hidden opposite code example
Example: how to change hidden on html
$('#check').change(function() {
$("#delete").prop("hidden", !this.checked);
})
$('#check').change(function() {
$("#delete").prop("hidden", !this.checked);
})