Problem with page navigation and multipage

Problem with page navigation and multipage

Hi,
I have the main HTML page "A" with only one data-role="page".
I then load a new HTML page, which contains two data-role="page".
JQM automatically shows the first data-role="page" and i am unable to link to the second one.
Using firbug, i noticed that the second data-role="page" does not load in DOM.

I tried using these urls:
  • &ui-page=second_page
  • /pagename&ui-page=second_page
I also tried using data-url attribute for the data-role="page", using the same string as the ID.

How can i solve this problem?