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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T12:20:12+00:00 2026-05-21T12:20:12+00:00

I’m developing a site in jQuery mobile (jQM). It’s great, but one thing is

  • 0

I’m developing a site in jQuery mobile (jQM). It’s great, but one thing is troubling me.

jQM is not supported in all mobile browsers (notably BlackBerry 5). The site looks gorgeous in the Android browser: on Opera Mini on Android, it’s actually broken 🙁

I’ve developed the site using progressive enhancement, naturally. So it works without jQM – if I can tell the browser not to use it!

Question: for platforms like Opera Mini on Android, is there a way I can check for jQM support, and totally unapply jQM as appropriate?

  • If jQM is supported in this browser, use it.
  • If it isn’t, don’t load the jQM javascript, don’t load the jQM stylesheets, and use the basic JavaScript site.

I know about the gradeA() property, but you presumably have to load jQM to use it:

$.mobile.gradeA()

Thanks!

  • 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-05-21T12:20:13+00:00Added an answer on May 21, 2026 at 12:20 pm

    jQuery Mobile tests browser features itself.

    You should customize the code to make it resign from doing its enhancements.
    Try here if you’re interested: https://github.com/jquery/jquery-mobile/blob/master/js/jquery.mobile.support.js

    Also: If it decides to work – it probably should. Try fixing the problems instead of trying to get jQuery Mobile to degrade

    [edit]

    Ok. let me explain. JQM, following to the idea of progressive enhancement, tests browser capabilities and kicks in with its widgets and stuff when the browser passes tests. This is why I say it should work if it tries.

    If it tries to enhance and fails – it’s a bug/missing support on the JQM side and in an ideal world you should expect it to be fixed. Reality suggests you can’t expect it, but you can hope for it 😉 It’s not a release yet.

    What I ment with “Try fixing…” is that you should download the JQM repository, add a line or two to the support tests and make them detect the feature that causes JQM to fail in that particular case. Then run make and you have a brand new JMQ working for you.

    After that you can suggest your change to the core team and they’ll improve on it.

    [edit]

    This is actually what you really wanted:

    A nice way to get your support-sniffing code in.

    You can implement your own gradeA function that would return
    $.support.mediaquery&&yourcondition

    See: http://jquerymobile.com/demos/1.0a4.1/#docs/api/globalconfig.html

    This can prevent JQM from working with browsers you don’t want.

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

Sidebar

Related Questions

No related questions found

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.