Topic starter
09/11/2022 7:05 am
How can I hide div tag after 10 sec. of page loading. div id is 'cal' I want to hide this division after 10 sec. Please help me to solve this
10/11/2022 6:54 am
If you want to hide div after 10 sec, then you can use settimeout function for that.
As you have mentioned your div id is 'cal' then you can refer below jQuery code for the same.
setTimeout(cal, 10000); function cal() { $('#cal').hide(); }