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

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -