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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T13:35:53+00:00 2026-06-11T13:35:53+00:00

The percent variable gets alerted just fine. But, when I put it in the

  • 0

The percent variable gets “alerted” just fine. But, when I put it in the progressbar function, just defaults to zero. It will work if I hardcode the value i.e. value: 60. How can I make it work with my percent variable? Thanks.

    function updateProgress(percent)
    {
        alert(percent);
        $("#progressbar").progressbar({
            value: percent
        });
    }
  • 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-11T13:35:55+00:00Added an answer on June 11, 2026 at 1:35 pm
    function updateProgress (percent) {
      alert(percent);
    
      $("#progressbar").progressbar({
        value: parseFloat(percent)
      });
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a regression model in which the dependent variable is continuous but ninety
This is not hundred percent programming related question, but I was not able to
Hello everybody i have variable(widthPercent) where i store percent for example: 67.33% when i
I try to create a variable width website, but i have a problem with
Can someone tell me why the variable percent = 0? It should be 33.3333
I have an object, let's say FOO, with a variable, percent... I need to
in my setup double percent signs are variable delimiters (i.e.%%first_name%%). I'd like to have
I have to draw tick markers at 10 percent intervals starting at zero and
How to convert percent value to decimal value in PHP to be used in
It's not 100 percent clear to me that the Google Analytics UA Numbers are

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.