Actually i am getting a dataset from DB but it is consuming sometime (>1 minutes).
So i use ajax to run asynchronously to check whether the dataset has returned result and at the same time displaying a waiting page.
However , for times, if the user want to navigate to other page instead of waiting the returned result, is there anyone who can give me a hint on doing that?