Adding id to pages in jquery mobile -


for internal linking in jquery mobile, seem need adding unique id each page div can handle each page separately. since page div being generated jquery mobile dynamically, best practice add dynamic id divs?

edit: requesting new page follows:

$(document).on("swipeleft", function () {     nextpage = getnextpage();     $.mobile.pagecontainer.pagecontainer("change", nextpage, { changehash: true }); }); 

where nextpage dynamic url. use approach allow paging.


Comments

Popular posts from this blog

c - CUDA code not processing if block properly -

oracle11g - get root domain from url Oracle sql regex_substr -

xcode - Swift Playground - Files are not readable -