I have a website on which I load subpages into container div through jquery.load().
On one subpage after user fill in form and submits it. I use ajax to process this form. It is a long process (php search big database) and until I get success I cannot move to another supage because when i click other navigation button it stills on load() functions and waits until this ajax is finished. I dont want to freeze navigation because of this ajax did not finished. So load() cannot be executed until ajax finish? How to do that?