There are a few questions about JQuery navigation with ajax, but I don't see answers I'm looking for, so here's my take.
I have a simple webpage using JQuery Mobile, which is using JQM's "navigation system", i.e. hashtag on one side, plus it recognizes that form was submitted and does ajaxization internally. In other words it is enough for me to put href="some_url" in A tag, or to make a simple form with submit button, and JQ Mobile does the rest.
Now I need to do exactly the same thing, but for a desktop version of the site. JQ Mobile-like navigation system would be ideal (but it is not usable for "normal" HTML ajax since it cleans HTML of all non-mobile-compatible tags) since then the server-side logic would remain the same, and I would only change the "layout" (mobile/desktop) to show different pages to the users on different devices.
Any idea on how to proceed?
Thank you,
Bozo