Put an empty div in the page where the delayed content is to be placed, like:
Then use the following script:
This will fetch the delayed content 1 second after the page loads and stick it into the empty div.
Joined: Oct 03, 2011
Thanks for the reply. What I am trying to achieve is:
I want to show Page2.jsp based on a session attribute that will be set by the AJAX call from Page1.jsp. So I want to delay the displaying of page2.jsp and subsequent page unless I get response back from AJAX call made.