且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

IBM Worklight 6.0.0.1 - JavaScript不在jQuery Mobile多页面应用程序中执行

更新时间:2022-12-21 10:23:46

如果我理解正确,您创建了另一个导航到的HTML页面。使用Worklight时,这不是正确的导航方式。 Worklight是一个单页应用程序!,因此您需要使用div元素切换内容而不是在页面之间导航。
有关这方面的更多信息,请访问:
http://public.dhe.ibm.com/software/mobile-solutions/worklight/docs/v610/03_02_Building_a_multi_page_application.pdf

If I understand correctly you created another HTML page that you navigated to. It is not the right way to do navigation when using Worklight. Worklight is a single-page application!, so you need to use a div element that switches the content instead of navigating between pages. More information regarding this can be found here: http://public.dhe.ibm.com/software/mobile-solutions/worklight/docs/v610/03_02_Building_a_multi_page_application.pdf