Hello all,

In order to delay a click() function, I tried the delay() and setTimeout() methods to delay the time until a user can "click to exit" at which time I will remove HTML content out of the way from the form page.

Here is what I tried:
Code JavaScript:
$("#blackoverlay, #successfulsubmit").delay(1400).click(function(e){
				$("#blackoverlay, #successfulsubmit").remove();
			})
$("#blackoverlay, #successfulsubmit").setTimeout(function(){$(this).click(function(e){$(this).remove()})}, 1400);

Neither do what I want it to- delay a short time then allow the user to click anywhere to exit.

To success,
Tyler