For devices that support it, jQuery Mobile links between pages via Ajax; for examples like the previous one, where multiple "pages" are housed in one physical file, this means we save extra (and more costly, in terms of speed) http requests. The beauty of the framework is that you don't need to worry about the low-level stuff: you link between pages as you normally would, and jQuery Mobile automatically handles page requests in a single-page model, using Ajax when possible. The Ajax page transitions also enable our use of a variety of cool visual transitions between pages. If Ajax isn't possible, or if you specify that you don't want Ajax, a normal http request is used instead.
Some links won't be loaded with Ajax but instead will cause a full page refresh (see table below):
|Links that point to other domains||<a href="http://www.google.com/">google.com</a>|
|Links with rel="external"||<a href="index.html" rel="external">somepage.html</a>|
|Links with data-ajax="false"||<a href="index.html" data-ajax="false">aboutus.htm</a>|
|Links with target attribute||<a href="index.html" target="_blank">books.php</a>|