简体   繁体   中英

In Jquery Mobile How to show / hide an HTML page

I used this code to show / hide an div

$("[id*=viewMeButton]").click(function(){
     $("[id*=viewMe]").toggle();
     $("[id*=viewMeButton]").show(); 
});

like wise In Jquery Mobile it is possible to show / hide an HTML page.

For example in LinkedIn app.

In the LinkedIn mobile app if we click the in icon means it shows / hide an page. Like that i need.

$.mobile.changePage()

change from one page to another

$.mobile.loadPage()

Load an external page, enhance its content, and insert it into the DOM.

http://jquerymobile.com/test/docs/api/methods.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM