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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T10:11:21+00:00 2026-05-26T10:11:21+00:00

I love cakePHP and jQuery, never a problem with any of them. ANyway I

  • 0

I love cakePHP and jQuery, never a problem with any of them. ANyway I am still a noob. Now I try to implement the progressbar and I am a bit stuck, obviously something super simple is missing out.

As shown on the jQuery site, I implemented the code:

               <script>
                    $(function() {
                        $( "#progressbar" ).progressbar({
                            value: 37
                        });
                    });
                    </script>

                <div class="demo">
                <div id="progressbar"></div>
                </div><!-- End demo -->
  1. Nothing is showing up in my view, not even a default bar or something. I use 2 other UI widgets so the library links work. What do I miss?
  2. How can I set the value dyamically? I have a php value $value ready in my view.
  3. Can I create multiple progressbars in my view?

Many 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-26T10:11:22+00:00Added an answer on May 26, 2026 at 10:11 am
    1. It looks like you may have custom packaged jquery-ui that had
      progressbar plugin deselected when package was prepared. Make sure
      you have it, or re-download full jquery-ui with certain theme from
      jquery ui website.
    2. That would be:

                  $(function() {
                      $( "#progressbar" ).progressbar({
                          value: <?php echo $value; ?>
                      });
                  });
      

    Add multiple empty div placeholders for each progressbar you need and assign jquery ui progressbar for each of them if they need different values initially, or check this sample code if all sidebars need initial value as 0:

    <script type="text/javascript">
    $(function(){
        $(".progressbar").progressbar({value:0});
    });
    </script>
    
    <div id="pb1" class="progressbar"></div>
    <div id="pb2" class="progressbar"></div>
    <div id="pb3" class="progressbar"></div>
    <div id="pb4" class="progressbar"></div>
    

    idea is to use the same class name (but different id for sake of later progressbar value changes) to create all sidebars at once without duplicating the code

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

Sidebar

Related Questions

I love the way StackOverflow handles tags. Is there any jQuery plugin that would
Love the JQuery Treewiev plugin http://bassistance.de/jquery-plugins/jquery-plugin-treeview/ , but I have one problem with it.
Would love some opinions on this problem I'm trying to workout. I'm trying to
I love Jenkins and appreciate that it is an active project. Still, I don't
I love the idea of Grizzly, but I can't find any good examples to
I love jQuery. I am probably going to have some XML parsing and manipulation
I'm working with a CakePHP application and jQuery Mobile. In the CakePHP application, RequestHandler
I'm using cakephp 2.1 and let me tell you: I just love it. In
I love git submodules. Also, I hate git submodules. What I love about them
I'm developing a web with CakePHP 1.3.7. Everything is going fine and I love

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.