I have an asp.net mvc website.
I the layout, il load Jquery and Jquery Mobile.
Then, in my page that use the layout, I have a div :
<div data-role="page" data-theme="b" id="home">
At some point, I load a partialView using Ajax, and replace the content of this div with the partialView html result :
$("#home").html(data);
In the partialView, I have :
<div data-role="header">
header
</div>
<div data-role="content" id="MainContent">
</div>
<div data-role="footer" data-position="fixed">
footer
</div>
It loads the data correcly but only have the text, I have no Jquery mobile header/footer...
Do you have an idea why ?
EDIT : Thanks for the link. But I'm really a beginner and I didn't manage to get it work yet... Like my example is easy, could you tell me exactly what I have to do ?