I know it's a base problem, but I wasn't able to find anything fitting my situation.
I have a jQuery Mobile page with a list of elements. The elements references to a second pages which has a content that depends on what element where choose (for example a list of articles and choosing an article it should show the relative text). Basically I have to pass a parameter between pages.
I tried to do that using AJAX:
$.ajax({
url : "index.html#page2",
data : "id="+id,
dataType : 'json'
type: "GET"
});
But i wasn't able to get the results in the second page.
How can I do that?