Open Links In Div Container In JQuery Mobile
i have a multi-column layout where '#content-primary' is the div i want the actual content loaded, and '#content-secondary' holds a generated listview of links(effectively a naviga
Solution 1:
I finally found an answer here. JQuery Mobile's changePage() and loadPage() methods do too much post-processing and triggers a lot of events that really makes implementing your own dynamic loading more complicated than it should be.
The good old fashioned #("div#primary-content").load();
works, but I'm still struggling to apply JQM styles to it.
Solution 2:
interestingly, this contradicts with this:
$.mobile.changePage() can be called externally and accepts the following arguments (to, transition, back, changeHash).
And when tested this works: $.mobile.changePage("index.html", "slideup");
but this does not:
$.mobile.changePage("index.html", { transition: "slideup" });
Perhaps documentation is not quite right?
Solution 3:
Update to the new beta 1 release
Post a Comment for "Open Links In Div Container In JQuery Mobile"