Dynamically create jQuery Mobile page via JavaScript after clicking

前端 未结 5 1148
渐次进展
渐次进展 2021-01-30 05:39

My jQuery Mobile app consists of a single index.html page and contains only one page with a link on startup:

5条回答
  •  别那么骄傲
    2021-01-30 06:27

    Have you looked at jquery's ajax load method? Seems like you could just have it load the page you want and replace the body each time you have a request come back.

    reference

提交回复
热议问题