place jquery for self hide on element code example Example: hidden jquery $('#yourid').attr('hidden', false); $('#yourid').attr('hidden', true);