In general, I know that this function can hide an element on the page after the click. The element will appear for a second and disappear:
$("#click").click(function () { $("#block").show(); setTimeout(function(){ $("#block").hide(); }, 1000); });
Tell me how to make, so that after reloading the page, the element appeared on the page and disappeared in a second?