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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T03:58:02+00:00 2026-06-10T03:58:02+00:00

I have a mobile page, that opens a dialog. In the dialog, there is

  • 0

I have a mobile page, that opens a dialog.

In the dialog, there is a multiselect menu.

Everything works fine, like

  1. I click the button for mulitselect menu in dialog to open the menu,
  2. I select the items from mulitselect
  3. close multiselect menu
  4. and I close the dialog.

Now, when I add data-native-menu="false" to the multiselect menu, the dialog behavior changes, like

  1. I click the button for mulitselect menu in dialog to open the menu,
  2. I select the items from mulitselect
  3. close multiselect menu
  4. and I close the dialog.
  5. Dialog is closed and I see the previous page. Otherwords, I have navigated one page back in history

What is the solution for this?

Code

This opens the first dialog

<a href="#refine-search" data-rel="dialog" data-role="button" data-theme="a" data-inline="true">Refine</a>

Code for mulitselect menu

<div class="ui-block-b">
                    <select name="select-choice-1" id="select-choice-1" multiple="multiple" data-theme="b" data-native-menu="false">
                      <option>Select</option>
                      <?php foreach($cuisines as $cuisine): ?>
                        <?php echo "<option value='{$cuisine->cuisine_id}'>{$cuisine->cuisine_name}</option>" ;?>
                      <?php endforeach; ?>
                   </select>
                </div>

Associated js

 jQuery('#refinement-done').on('click', function() {  
        console.log('refinement done');
        var options = '<?php echo $search_options; ?>&',
            min_delivery_amt,                 
            is_pure_veg,
            is_open,              
            min_rating,                       
            cuisines;
        min_delivery_amt = $('input[name="min"]').val();
        if(min_delivery_amt && !parseInt(min_delivery_amt, 10)) {
            alert('Min. Delivery Amount must be a number');
            return false;                                                           
        }                               
        jQuery('.ui-dialog').dialog('close');                                       
        if(jQuery('input[name="min"]').val())                                       
            options += 'minprice=' + jQuery('input[name="min"]').val() + '&';

        if(jQuery('#select-choice-1').val())
            options += "cuisine=" + jQuery('#select-choice-1').val().join(',') + '&';            

        options += 'pureveg=' + jQuery('#is_pure_veg').val() + '&';
        if(jQuery('#rating').raty('score')) {
            options += 'minrating=' + jQuery('#rating').raty('score') + '&maxrating=5';          
        }
        console.log('search data');
        console.log(options);
        JE.search_restaurants(options, "<?php echo $service_type; ?>");
    });
  • 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-10T03:58:04+00:00Added an answer on June 10, 2026 at 3:58 am

    This is supposedly a known issue with jQM 1.2. It appears to be caused by a changeHash: false option being set on changePage calls.

    However, it doesn’t look like you’re setting this option anywhere, and the default value is true. I’m actually having the same issue as you in a project I’m working on right now, I’ll let you know if I manage to pinpoint the cause. For the moment, I just reverted to an earlier version of jQM (not the ideal solution, I know).

    Edit:

    JQuery Mobile 1.2 Beta was released today, so I started digging into this issue again to see if it was resolved. It’s not. I did, however manage to narrow down the issue a bit, as shown in this jsfiddle. If I remove the line $.mobile.changePage.defaults.reloadPage = true; then everything works fine. Unfortunately, for my app I need this to be set to true to prevent page caching.

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

Sidebar

Related Questions

I have a Jquery Mobile page. In my header I have a button to
I want to make a button in an UIAlertView that opens a Wikipedia page,
Just wondering. I have a page in Jquery Mobile which uses a popup that
I have a jquery mobile app that has a page. This page has three
I have a Jquery Mobile page into which I'm loading a form via AJAX.
I have the following HTML on a Jquery Mobile Page: <div data-role=controlgroup data-type=horizontal class=panelSwitcher>
I have the following code for a jquery mobile page. When I run it
I have an image in my jquery mobile fixed header. When the page loads
I have a PhoneGap App using jQuery Mobile. At a certain page, I cannot
I have been working with jQuery mobile 1.0.1. I have a page which drills

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.