hide function not working in jquery 3.5 code example Example: hidden jquery $('#yourid').attr('hidden', false); $('#yourid').attr('hidden', true);