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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:50:51+00:00 2026-06-13T13:50:51+00:00

I nailed down a weird behavior on JQM. Since the page is based on

  • 0

I nailed down a weird behavior on JQM.

Since the page is based on JQM Boiler plate, I do not include the full page here. I published the code on jsfiddle.

Here is a summary of the behavior click actions:

(Windows sequence between click)

Here is the extract of the relevant code:

<div id="oneapart" 
    data-add-back-btn="true" 
    data-back-btn-text="List" 
    data-role="page" 
    data-title="Home page">

I do not understand why the last click on the List button (a jquery mobile back button) requires 2 click to actually act on the link. In fact, the weird behavior is that a first click highlight the button in blue, but it remains as is without switching to the previous page until a second click happens.

Any help will be appreciated.

Regards.

  • 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-13T13:50:52+00:00Added an answer on June 13, 2026 at 1:50 pm

    This issue can be fixed by adding the data-rel="back" to the button in the popup.

    The issue posted on Github has been marked as resolved because of that.

    The issue happens because data-rel="back" is missing in the link of the large cancel button in @jerone his fiddle. See “Closing dialogs” here: http://jquerymobile.com/test/docs/pages/dialog/index.html

    The back button on pageTwo is dynamically created. When you don’t use data-rel="back" on the link that brings you back from dialogThree (which is also a page) to pageTwo it adds an item to the history stack. That’s why the back button on pageTwo then requires two clicks to actually bring you back to pageOne.
    The active state is removed from a (back) button on the pagehide event. On the first click you stay on the same page, so this event doesn’t fire and the button keeps the active state.

    I added data-rel="back" and then everything works as expected: http://jsfiddle.net/jEesE/6/

    Closing as resolved.

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

Sidebar

Related Questions

I've finally nailed down a bug that crashes a UIImagePickerController when recording video. When
I am not sure what causes this error but since I came across this
quick question. I am trying to get C++ nailed down, and today I spent
I have nailed one of my bugs down to this little snippet, and yet
I thought I had custom events nailed in Flex, but seemingly not. I am
I've nailed down what I want, but I can't seem to get it in
Every once in a while a borked Eclipse build gets nailed down to the
Has anyone nailed this down yet? I've read a lot of forum postings and
Ok, so I thought I had this nailed , but sadly not . I
Title pretty much nailed it, Im copying files to a flash drive and then

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.