What happens in background when opening new pages?

What happens in background when opening new pages?

All, Relatively new to JQM, I try to find documents on how the following works. I have a simple webapp. Using standard links (a href) I jump to the second page withinh the same html-page. From this second page I jump to a php-file. In this php-file I can jump to the first page again. When I do this the first page appears, but hangs. What I am looking for is good docu where is described what happens exactly in my pages. Or maybe there is a way to follow what happens internally. Hope anyone can point me in the right direction. Thanks, Marco