Use Jqmobi to develop jumps between app,panel. According to the current page of different presentation methods, there are four kinds of jump methods.
1 The current page is pop-up, close the current page 2 The current page is not pop-up, you can use a label 3 use $.ui.goback () 4 arbitrary panel of the jump
1 The current page is pop-up, close the current page
For example, the login page, because it uses the modal= "true", is ejected, and after successful landing, only need to close the pop-up form to return to the previous page.
$.ui.hidemask (); Off mask layer
$.ui.hidemodal (); Close pop-up form
Specific can refer to
Using Jqmobi to develop App basics: Login Page Implementation
2 The current page is not pop-up, you can use a label
For example, the Cancel button can jump to the set panel as needed.
<a href= "#jiekuanshenpi" class= "button" > Cancel </a>
3 using $.ui.goback ()
For example, after modifying a piece of information successfully, jump to all the Information list page. You can use $.ui.goback (), but the manual click Effect is the same.
Back to the column page: http://www.bianceng.cnhttp://www.bianceng.cn/OS/extra/
4 Jump of any panel
You can use trigger, such as
$ ("#jiekuanshenpi"). Trigger ("click");
Jump to label with ID JIEKUANSHENPI
You can also use $.ui.loadcontent ()
Implement the same jump as the top
$.ui.loadcontent ("#jiekuanshenpi", False, False, "pop");
Author: csdn Blog xuexiaodong2009