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 9184091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T18:57:38+00:00 2026-06-17T18:57:38+00:00

I am building an app using jQuery mobile and phonegap The app is ready,

  • 0

I am building an app using jQuery mobile and phonegap

The app is ready, and works absolutely fine on Android, Android Simulator, Desktop browsers
But when I deploy it on iPhone the back buttons stop working. I am adding an attribute data-rel="back" in my anchor tags, to go back. (As mentioned in the jQM docs)

From my index.html I call, menu.html. When I click back button (not browser back button) on the menu.html app doesn’t come back on index.html

This problem is there only for iPhone.

This is how my index.html looks like

        <div id="content_home" class="mainColumn" data-role="page">
            <div class="header">
                <a href="Menu.html"  id="home_nav_btn" class="headerButton nav fr" style=""><span></span></a>
                <a id="bg" class="headerButton home fl" style=""><span></span></a>
                <h1><img src="images/bank_trust.png" alt=""></h1>
            </div>
            <!-- Remaining HTML Code -->
        </div>

And my Menu.html looks like this,

<div id="content_nav" class="mainColumn" data-role="page">
    <div class="header">
        <a id="btn_signout" class="headerButton fr" style=""><span>Signout</span></a>
        <a data-rel="back" class="headerButton home fl" ><span></span></a>
        <h1><img src="images/bank_trust.png" alt=""></h1>
    </div>
    <div class="content"></div>
    <script src="js/menu.js"></script>
</div>
  • 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-17T18:57:40+00:00Added an answer on June 17, 2026 at 6:57 pm

    Solved this myself…

    jQM docs say that you must have href attribute which gives a semantic meaning to your anchor. I added href attribute and its all working fine now.

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

Sidebar

Related Questions

I am building a mobile app using jquery mobile and phonegap for both android
I am building an iPhone app using jQuery Mobile, jQuery 1.7.2, and PhoneGap trying
I am building a mobile app using phonegap , jQuery and jQuery mobile .
I am building a mobile app with Phonegap, using jquery.xdomainajax.js for parsing html elements
I am building a PhoneGap app using jQuery Mobile. My JSONP cross domain communication
I am building an app using Phonegap and jQuery mobile... On my index.html page,
I'm building my first mobile app using PhoneGap and jQuery Mobile, and I've run
I'm building a simple content app using PhoneGap + jquery mobile. My AdMob banner
I am building a mobile app using Jquery mobile. It´s a multi-page app all
I am building an Android app using phoneGap and I have successfully added the

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.