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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:04:20+00:00 2026-05-25T13:04:20+00:00

<asp:Content ID=Content1 ContentPlaceHolderID=Head runat=Server> <script type=text/javascript> $(function () { $(#slider-range).slider({ range: true, min: 0,

  • 0
<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="Server">  
 <script type="text/javascript">
  $(function () {
                $("#slider-range").slider({
                    range: true,
                    min: 0,
                    max: 100,
                    values: [0, 75],
                    slide: function (event, ui) {
                        $("#value").val("" + ui.values[0] + " - " + ui.values[1]);
                    }
                });
                $("#value").val("" + $("#slider-range").slider("values", 0) +
                " - " + $("#slider-range").slider("values", 1));
            });
  </script>
</asp:content>

I am using this code for a slider in my asp.net page. Now the value in displayed in the Html input.

  <input type="text" id="value" style="border: 0; font-weight: bold;" />

it is displayed as 0-75. How can I get both the values (0,75) separately in my server side so that i can write the values in database.

  • 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-25T13:04:21+00:00Added an answer on May 25, 2026 at 1:04 pm

    Not sure there is enough information here, but making a bunch of assumptions.

    <input type="text" id="value" name="value" style="border: 0; font-weight: bold;" />
    

    Then when you submit your page:

    Request.Form["value"] (OR Request.QueryString["value"] in some cases) 
    

    … will contain your value.

    string[] values;
    string value = Request.Form["value"];
    if ( !String.IsNullOrEmpty( value ) )
    {
        values = value.Split( '-' );
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

<asp:Content ID=Content1 ContentPlaceHolderID=Head runat=Server> <script type=text/javascript> $(function () { $(#slider-range).slider({ range: true, min: 0,
I have this sample below: <asp:Content ID=Content1 ContentPlaceHolderID=head runat=Server> <script type=text/javascript> function test(){ if
I have the following code in the front end <asp:Content ID=Content1 ContentPlaceHolderID=cphMain runat=server> <script
<head runat=server> <title><asp:ContentPlaceHolder ID=TitleContent runat=server /></title> <link href=../../Content/css/layout.css rel=stylesheet type=text/css /> <script type=text/javascript src=/Areas/CMS/Content/js/jquery-1.3.2.min.js></script>
I have the following ASP page: <asp:Content ID=Content2 ContentPlaceHolderID=ShellContent runat=server> <form runat=server id=AddNewNoteForm method=post>
I have following view <asp:Content ID=Content2 ContentPlaceHolderID=MainContent runat=server> <h2>Tables <%=ViewData[RetriverName] %></h2> <%using (Html.BeginForm(ResfreshSelectedTables, Home))
I have an application that contains this code: <script src=Scripts/jquery-1.4.1.min.js type=text/javascript></script> <script src=Scripts/facebox.js type=text/javascript></script>
Here is my asp code: <!-- language: lang-js --> <head runat=server> <title> <asp:ContentPlaceHolder ID=TitleContent
I cant reach the panelID from the code behind cs file.. <asp:Panel ID=Panel1 runat=server
I have this code in my master page in the head section: <head runat=server>

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.