Hi gregormck,
Thanks for your kind help. I have started some bit of work and it is showing some contents.
But I having issue when I want to update content dynamically on main page. I don’t know I may not be doing it correct.
- I have created one main page that only have <div data-role=“page” id=“main_page”></div> in body.
- what I want to do is I want to place contents(header, contents and footer) dynamically into that div.
- I have this code that place the contents in the main_page div
application.get( ‘view’, self.section ).render($(’#main_page’), contents);
$.mobile.changePage($(’#main_page’), { transition: “slide”});
- the issue here is it place the contents properly but they are not formatted at all.
- if I place all those contents in the main_page div directly and refresh the page they work fine and keep proper formatting.
can you please guide if, in putting dynamic content into the main_page div, or this is incorrect can you please tell me the proper way to updated the contents dynamically.
will be very helpful if you provide me some code examples with one full dynamic flow and updating contents.
I am totally new to jQuery mobile so please ignore any mistake 
Thank you very much in advance.
Tahir Awan