is it possible to delay a redirect until 2nd page loads?

Viewed 40

I am trying to determine if I can set a timeout or something of that nature on a link button that will delay the redirect to a new page until the data on the 2nd page is loaded. When a user clicks this button, it takes them to a new page that runs a few queries and builds a dashboard. It takes about 15 seconds before the page is finished building and then it displays the page. well users are click happy and if they aren't shown something in that 15 seconds that the page is building then they just keep clicking the button. I've looked into SetTimeout() but that doesn't solve my issue. I am using HTML/CSS/Javascript/Jquery in my environment.

Is it even possible to delay the redirect until page 2 finishes building the dashboard?

Link Button:

<a class="linkbutton" href="http://.../dashboards/Value _Stream/conveyors.php"><span class="auto-style25">Conveyors</span></a><br class="auto-style25" />
0 Answers
Related