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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T16:38:54+00:00 2026-05-28T16:38:54+00:00

I am using jquery Mobile 1.0. I have this html code. <label for=slider class=ui-hidden-accessible>

  • 0

I am using jquery Mobile 1.0.

I have this html code.

<label for="slider" class="ui-hidden-accessible">
    Input slider:
</label>
<input type="range" name="slider"   id="@(Model.QuestionNo)_slider" value="25" min="0" max="100" />

Its rendering like this:
enter image description here

But I want to remove the red marked part. I want to show only slider part.

How can this be done?

  • 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-28T16:38:55+00:00Added an answer on May 28, 2026 at 4:38 pm

    If you just want to get rid of the up/down arrows, you can wrap the input in an element with a specified width/height and overflow : hidden:

    $(".ui-slider-input").wrap($('<div />').css({
        position : 'relative',
        display  : 'inline-block',
        height   : '36px',
        width    : '45px',
        overflow : 'hidden'
    }));
    

    Or as Frederic Hamidi stated, you can just hide the element all together and only a slider will be visible.

    Here is a demo of the above code: http://jsfiddle.net/EWQ6n/1/

    Also you can hide the input element with CSS (which is nice because you don’t have to time the execution of the CSS like you do with JS):

    .ui-slider-input {
        display : none !important;
    }
    

    Here is a demo using CSS: http://jsfiddle.net/EWQ6n/2/

    Update

    Instead of using the !important keyword, you can also make a more specific CSS rule so it is used over the jQuery Mobile classes. An example would be:

    .ui-mobile .ui-page .ui-slider-input,
    .ui-mobile .ui-dialog .ui-slider-input {
        display : none;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using jQuery Mobile and have few pages in one HTML page. When
I'm developing a mobile site for iPhone using jQuery. I have a hidden div
I am using jQuery Mobile for the first time. I have the following code:
I am using jquery mobile in iPhone application, I have included the resources files
I have a mobile app using JQuery Mobile. Because of issues with blackberry I
I am referencing JavaScript as follows on an HTML page: <script type=text/javascript src=http://code.jquery.com/jquery-1.6.1.min.js></script> <script
I'm using jQuery Mobile and have turned off the default AJAX handling of forms
I'm developing a mobile website using the jQuery Mobile library. I have a header,
I have contact list which contains (checkbox,firstname,lastname,phone). I am creating this list using html
I am using jquery-mobile framework. I have two div s side by side (as

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.