hidding elemnt by setting attr vs using jquery hide code example
Example: hidden jquery
$('#yourid').attr('hidden', false);
$('#yourid').attr('hidden', true);
$('#yourid').attr('hidden', false);
$('#yourid').attr('hidden', true);