In my jQuery Mobile site, I have a button in my header like this:
<a href="/foo.html" data-rel="dialog" data-icon="grid">Foo</a>
The problem is that JQM expects me to redefine the head with all the scripts and CSS. This is so awkward especially for a dialog (not to mention slow). I would like my dialog just to have the content of my grid without having to redefine a full blown html page. Is this possible?
You could define the dialog in the same page ( multi-page layout )
HTML
Docs: