jquerymobile动态创建页面

By default, the first element found with [data-role=page] will become the first page.


Ideally, those pages are in the markup when it arrives from the server, as that'll be the only way to ensure an accessible C-Grade experience.

 
If you must generate that first page on the client, you could perhaps put a placeholder "page" there first and populate it dynamically.
We're working on documenting the events for page loading and initializing to clear up issues like this, and we'll likely have alternative approaches to suggest as this release progresses.
stay tuned!

 
Scott

你可能感兴趣的:(职场,休闲,dynamically)