Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8911987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T04:05:20+00:00 2026-06-15T04:05:20+00:00

I’m using phonegap and jquery mobile to build an app. Until now the all

  • 0

I’m using phonegap and jquery mobile to build an app.
Until now the “all pages in one html file” was being used, but the project is going to be really big and will be bad to have all in one file.
All the pages are in the file index.html
Only one called mentions in mentions.html.

When going from the page “dashboard” from index.html to “mentions” on mentions.html is ok, the transiction go well.
But when the back button is clickd, it goes to the dashboard page with No transiction .

here’s my button:

 <a href="#dashboard" data-role="button" id="mentions-back-button" class="">Dashboard</a>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T04:05:21+00:00Added an answer on June 15, 2026 at 4:05 am

    Use jQuery Mobile’s back button link.

    <a href="#" data-rel="back" data-role="button" id="mentions-back-button" class="">Dashboard</a>
    

    “Back” button links If you use the attribute data-rel=”back” on an
    anchor, any clicks on that anchor will mimic the back button, going
    back one history entry and ignoring the anchor’s default href. This is
    particularly useful when generating “back” buttons with JavaScript,
    such as a button to close a dialog. When using this feature in your
    source markup, although browsers that support this feature will not
    use the specified href attribute, be sure to still provide a
    meaningful value that actually points to the URL of the referring page
    to allow the feature to work for users in C-Grade browsers. If users
    can reach this page from more than one referring pages, specify a
    sensible href so that the navigation remains logical for all users.
    Also, please keep in mind that if you just want a reverse transition
    without actually going back in history, you should use the
    data-direction=”reverse” attribute instead. Note:
    data-direction=”reverse” is meant to simply run the backwards version
    of the transition that will run on that page change, while
    data-rel=”back” makes the link functionally equivalent to the
    browser’s back button and all the standard back button logic applies.
    Adding data-direction=”reverse” to a link with data-rel=”back” will
    not reverse the reversed page transition and produce the “normal”
    version of the transition.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am reading a book about Javascript and jQuery and using one of the
We're building an app, our first using Rails 3, and we're having to build
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
We are using XSLT to translate a RIXML file to XML. Our RIXML contains
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
I have thousands of HTML files to process using Groovy/Java and I need to
I am using Paperclip to handle profile photo uploads in my app. They upload
I'm making a simple page using Google Maps API 3. My first. One marker

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.