The code snippet below executes when the document is ready (when everything has been loaded onto the page). It then hides the div with the class name of "submit_div" and the div with the class name of "progress_bar" until the delay has been fulfilled. Then, as a bonus, I'm telling it to fade in the divs as a special effect. The value of the delay is 5000 or five seconds. The value of the fadeIn is 1000 or one second.