I am new to jquery mobile and am trying to swith between views in code! I two views declared as
The two views:
<div data-role="view" data-title="Jobslist" id="jobslist-view">
<div data-role="view" id="details-view">
The first view contains a unordered list and when a list item is clicked it populates a template in the second view, this works fine I now want switch between the jobslist-view and the details-view, but I am struggling with the method. If I place a button on the jobslist-view I am able to see the details-view, but how do I achieve this in code.
Can you help?
The button that shows the view:
<a href="# details-view "
- 1 Replies
- 455 Views
- 0 Followers