set up back button history for search page

set up back button history for search page

jQM 1.2

I am needing to be able to return, using back, to the Search/Filter page after a user clicks a link on the Search/Filter page. To the nav.html page, I have added the attribute data-dom-cache="true" to the div with data-role="page" (see below), but is not working.

nav.html

<body>
    <div data-role="page" data-dom-cache="true" data-theme="a" class="nav-search"></div>
</body>

Am I adding this to the correct page/div?

Also, shouldn't I be able to find the script in the .js files that are triggered by this attribute data-dom-cache...where is this script located?


Thanks for any help!

















    • Topic Participants

    • info