add hidden field in html code example
Example 1: html hidden
<!-- stops an element from rendering, but still loads it to memory-->
<p>this will show</p>
<p hidden>Thill will not show</p>
Example 2: how to change hidden on html
$('#check').change(function() {
$("#delete").prop("hidden", !this.checked);
})