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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T11:16:58+00:00 2026-06-04T11:16:58+00:00

Maybe my question is a little confusing, let me clarify it a little. I’m

  • 0

Maybe my question is a little confusing, let me clarify it a little.

I’m using Jquery Mobile, and I want to have it’s screen transitions and other things, but I don’t want all those UI styles automaticly applied to my elements.

My current problem is the ui-link applied to my links. The others ui-whatever, for the time being aren’t bothering me.

I want to avoid this issue in a “friendly way” (without rewriting a lot of CSS or removing them again).

Is there any way of making an element immune to these auto-styling?

The code I wrote:

<div class="page" id="home" data-role="page">
   <a class="bt" href="#page2">Page Two</a>
</div>

The Jquery Mobile generated code

<div id="home" class="page ui-page ui-body-c ui-page-active" data-role="page" data-url="home" tabindex="0" style="min-height: 361px;">
   <a class="bt ui-link" href="#page2">Page Two</a>
</div>

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-06-04T11:17:00+00:00Added an answer on June 4, 2026 at 11:17 am

    Found it! Hope it can help someone with the same problem.

    Just apply data-role="none" to the element.

    Preventing auto-initialization of form elements

    If you’d prefer that a particular form control be left untouched by
    jQuery Mobile, simply give that element the attribute
    data-role=”none”. For example:

    <label for="foo">
    <select name="foo" id="foo"  data-role="none">
        <option value="a" >A</option>
        <option value="b" >B</option>
        <option value="c" >C</option>
    </select>
    

    http://jquerymobile.com/demos/1.0b2/#/demos/1.0b2/docs/forms/docs-forms.html

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

Sidebar

Related Questions

Maybe the question title is a little confusing, so I'll try to clarify things
Maybe a silly question but here goes anyway. Example: Let's say I have one
It maybe a little naive question but I have been trying to understand how
Maybe my question is very basic, but regretfully I have very little experience with
Maybe my question it's a little weird, but I'm trying to build a not-so-simple
Maybe dumb question: I'm trying to realize a little server in Java with com.sun.net.httpserver
I find this question a little tricky. Maybe someone knows an approach to answer
I have an jQuery ajax database query and Im wondering how I can maybe
I've come with a little question that keeps me awake all night. Maybe it's
Maybe this is a little unconventional question but I'd like to hear an answer

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.