I’m developing a JQuery Mobile application which loads from two different domains. (some pages are from example1.com, and other pages are from example2.com , but all of pages are designed by JQuery)
As far as I know, if I have a link from example1.com to example2.com, it will fully reload the page.
Isn’t there any way to do dynamic ajax loading of that page, just like internal links?
According to the jQuery Mobile documentation if the page is on another domain it will load the page with a full page refresh.
I haven’t tested it myself but you should be able to first load the page using the
$.mobile.loadPagemethod and then link or change to that page which will now be part of the same DOM.