javascript - jQuery Mobile's changePage How to load a jQuery Collection in an other page -
here's structure of app: have 2 html files:
- index.html
- items.html
items.html contains different data-role="page" divs.
<div data-role="page" id="myitem" data-title = "items1"> ... </div>
in page "index.html", changepage specific page located in items.html ( $.mobile.changepage('items.html#myitem')
any ideas ?
mixing single-page , multi-page templates not supported. either have put in 1 file, or split in multiple files.
Comments
Post a Comment