can't access elements after jQuerymobile page change
I created a simple example to illustrate my problem here: https://github.com/kanesee/jqm-page-state Basically, I have page1.html, which has a div with id=content and I change its color to red. I have a page2.html, which has a div with id=content and I change its color to green. When I go to page1, the color of the text in the div is red, as expected. When I go to page2, the color of the text in the div is green, as expected. I have a simple anchor href from page1 that goes to page2. After clicking it, page2 loads and the text inside the div changes accordingly. But the color of the text is