I am trying to migrate existing phonegap project into worklight. Phonegap app is using $.mobile.changePage() for page navigation. Will this function reload the existing DOM or creates a new DOM. As worklight suggest to use single DOM object, if I use $.mobile.changePage() will it have any impact on worklight application behaviour.
相关问题
- How to fix IE ClearType + jQuery opacity problem i
- jQuery add and remove delay
- Include empty value fields in jQuery .serialize()
- Disable Browser onUnload on certain links?
- how to get selected text from iframe with javascri
Please read the following IBM Worklight Getting Started training module: Building a multi-page app (sample project).
jQuery.mobile.changePage()
http://api.jquerymobile.com/jQuery.mobile.changePage/
.load()
http://api.jquery.com/load/
Please read the above documentation to understand the difference between
changePage
andload
.