I have two pages: Home.php
and Dashboard.php
. The links to the pages appear as Home and Dashboard using an anchor tag rather than javascript/jquery
.
When I click on Dashboard an ajax query is fired which starts fetching data from the server to display on the current page, however, during this time if I click on Home it does not take me to Home.php
page until the page completely loads and the processing of the Dashboard page is finished.
I want to be able to follow the link without waiting for processing to complete. Can anyone please help me with this, what could be the issue.