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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T06:09:39+00:00 2026-06-02T06:09:39+00:00

i want change this input to dropdown menu. <a href=# onclick=$(‘#pb1’).progressBar(5);>5</a> | <a href=#

  • 0

i want change this input to dropdown menu.

<a href="#" onclick="$('#pb1').progressBar(5);">5</a> |
<a href="#" onclick="$('#pb1').progressBar(60);">60</a> |
<a href="#" onclick="$('#pb1').progressBar(100);">100</a>

dropdown sample…(not work)

<form action="#" name="progress" onclick="$('#pb1').progressBar(10);">
   <select name="dropdown">
    <option name="radOne" value="$('#pb1').progressBar(5);" selected>5</option>
    <option name="radOne" value="$('#pb1').progressBar(60);">60</option>
    <option name="radOne" value="$('#pb1').progressBar(100);">100</option>
   </select>
</form> 

can anyone help me about change this structure?

  • 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-02T06:09:40+00:00Added an answer on June 2, 2026 at 6:09 am

    This is how you should do it.

       <select name="dropdown" onchange="$('#pb1').progressBar(this.value);">
        <option name="radOne" value="5" selected>5</option>
        <option name="radOne" value="60">60</option>
        <option name="radOne" value="100">100</option>
       </select>
    

    Even like show, the practice of inline event handlers is not encouraged. Better approach is

    document.getElementByid("selectboxid").onchange = function() {
        $('#pb1').progressBar(this.value);
    };
    

    But, since you are already using jQuery

    $("#selectboxId").change(function() {
        $('#pb1').progressBar(this.value);
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ok, not sure if this is even possible, but I want to change the
i have many div's with the same background image and i want change this
I want to change this date format: Tue Apr 3 15:00:03 GMT+0300 2012 to
i'm studying wp7 app changing app on https://github.com/slodge/face . I want to change this
I have the following property public MyType MyProperty {get;set;} I want to change this
I want to change color of h3 links to red in this code: <div
I want to change the behaviour of the editable ComboBox. This is the behaviour
I want to change the link-style for some of my links, like this: a:hover
I want to change my div content on the click of a link, this
I have this wonderful iFrame that has wonkey dimensions that I want to change

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.