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

  • Home
  • SEARCH
  • 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 9229251
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T05:31:32+00:00 2026-06-18T05:31:32+00:00

I am trying to use jquery mobile popup for my website. When i include

  • 0

I am trying to use jquery mobile popup for my website. When i include mobile js files, the whole entire page is messed up. I assume that the styles are applied to my document. Actually i don’t want to have mobile styles applied to my page. I want only to use the popup functionality for certain parts and ignore the rest.

Is it possible to have and how?

Thanks in advance.

  • 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-18T05:31:33+00:00Added an answer on June 18, 2026 at 5:31 am

    Yes and you can find more about this in my other article: https://stackoverflow.com/a/14550417/1848600, search for: Methods of markup enhancement prevention.

    To make it short:

    It can do it by adding this attribute:

    data-enhance="false"
    

    to the header, content, footer container.

    This also needs to be turned in the app loading phase:

    $(document).one("mobileinit", function () {
        $.mobile.ignoreContentEnabled=true;
    });
    

    Initialize it before jquery-mobile.js is initialized (look at the example below).

    More about this can be found here:

    http://jquerymobile.com/test/docs/pages/page-scripting.html

    You also need to use data-role=”none” on a content because if you use data-enhance=”false” popup will lose its styling.

    Word of advice, find another implementation of popup. Basically you are using a nucler weapon to kill a single fly.

    Example: http://jsfiddle.net/Gajotres/PGL5t/

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

Sidebar

Related Questions

I'm trying to use jQuery Mobile for a mobile website (after trying and ditching
I am trying to use the latest stable Jquery Mobile version 1.1.0 that was
I'm trying to use changePage function in jQuery Mobile, but I want the page
I'm trying to use Jquery to pass the value of one box that already
I'm trying to use jQuery UI tabs much like a Master Page in ASP.Net.
I'm trying to make webservices call from a jQuery mobile website on an ASP.NET
I am trying to use jquery mobile $.mobile.showPageLoadingMsg() after user hits login button. After
I'm trying to use KnockoutJS with jQuery mobile and I've run into a problem
I am trying to use Swipe JS 2 with jQuery Mobile (carefully taking into
Currently Im trying to do ajax request using jQuery Mobile. I`m trying to use

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.